Class DataScan.ExecutionSpec (1.22.0)

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

DataScan execution settings.

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

Static Fields

FIELD_FIELD_NUMBER

public static final int FIELD_FIELD_NUMBER
Field Value
TypeDescription
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataScan.ExecutionSpec getDefaultInstance()
Returns
TypeDescription
DataScan.ExecutionSpec

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DataScan.ExecutionSpec.Builder newBuilder()
Returns
TypeDescription
DataScan.ExecutionSpec.Builder

newBuilder(DataScan.ExecutionSpec prototype)

public static DataScan.ExecutionSpec.Builder newBuilder(DataScan.ExecutionSpec prototype)
Parameter
NameDescription
prototypeDataScan.ExecutionSpec
Returns
TypeDescription
DataScan.ExecutionSpec.Builder

parseDelimitedFrom(InputStream input)

public static DataScan.ExecutionSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DataScan.ExecutionSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DataScan.ExecutionSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DataScan.ExecutionSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DataScan.ExecutionSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DataScan.ExecutionSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DataScan.ExecutionSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataScan.ExecutionSpec
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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.cloud.dataplex.v1.Trigger trigger = 1 [(.google.api.field_behavior) = OPTIONAL];

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DataScan.ExecutionSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DataScan.ExecutionSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException