Class DataScanEvent (1.46.0)

public final class DataScanEvent extends GeneratedMessageV3 implements DataScanEventOrBuilder

These messages contain information about the execution of a datascan. The monitored resource is 'DataScan' Next ID: 13

Protobuf type google.cloud.dataplex.v1.DataScanEvent

Static Fields

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DATA_PROFILE_CONFIGS_FIELD_NUMBER

public static final int DATA_PROFILE_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

DATA_PROFILE_FIELD_NUMBER

public static final int DATA_PROFILE_FIELD_NUMBER
Field Value
Type Description
int

DATA_QUALITY_CONFIGS_FIELD_NUMBER

public static final int DATA_QUALITY_CONFIGS_FIELD_NUMBER
Field Value
Type Description
int

DATA_QUALITY_FIELD_NUMBER

public static final int DATA_QUALITY_FIELD_NUMBER
Field Value
Type Description
int

DATA_SOURCE_FIELD_NUMBER

public static final int DATA_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

JOB_ID_FIELD_NUMBER

public static final int JOB_ID_FIELD_NUMBER
Field Value
Type Description
int

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER

public static final int POST_SCAN_ACTIONS_RESULT_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

SPEC_VERSION_FIELD_NUMBER

public static final int SPEC_VERSION_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DataScanEvent getDefaultInstance()
Returns
Type Description
DataScanEvent

getDescriptor()

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

newBuilder()

public static DataScanEvent.Builder newBuilder()
Returns
Type Description
DataScanEvent.Builder

newBuilder(DataScanEvent prototype)

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

parseDelimitedFrom(InputStream input)

public static DataScanEvent parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataScanEvent
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DataScanEvent parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DataScanEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DataScanEvent parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DataScanEvent
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DataScanEvent parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DataScanEvent
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DataScanEvent parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DataScanEvent
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DataScanEvent> parser()
Returns
Type Description
Parser<DataScanEvent>

Methods

equals(Object obj)

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

getAppliedConfigsCase()

public DataScanEvent.AppliedConfigsCase getAppliedConfigsCase()
Returns
Type Description
DataScanEvent.AppliedConfigsCase

getCreateTime()

public Timestamp getCreateTime()

The time when the data scan job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

The time when the data scan job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
Type Description
TimestampOrBuilder

getDataProfile()

public DataScanEvent.DataProfileResult getDataProfile()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
Type Description
DataScanEvent.DataProfileResult

The dataProfile.

getDataProfileConfigs()

public DataScanEvent.DataProfileAppliedConfigs getDataProfileConfigs()

Applied configs for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201;

Returns
Type Description
DataScanEvent.DataProfileAppliedConfigs

The dataProfileConfigs.

getDataProfileConfigsOrBuilder()

public DataScanEvent.DataProfileAppliedConfigsOrBuilder getDataProfileConfigsOrBuilder()

Applied configs for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201;

Returns
Type Description
DataScanEvent.DataProfileAppliedConfigsOrBuilder

getDataProfileOrBuilder()

public DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
Type Description
DataScanEvent.DataProfileResultOrBuilder

getDataQuality()

public DataScanEvent.DataQualityResult getDataQuality()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
Type Description
DataScanEvent.DataQualityResult

The dataQuality.

getDataQualityConfigs()

public DataScanEvent.DataQualityAppliedConfigs getDataQualityConfigs()

Applied configs for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202;

Returns
Type Description
DataScanEvent.DataQualityAppliedConfigs

The dataQualityConfigs.

getDataQualityConfigsOrBuilder()

public DataScanEvent.DataQualityAppliedConfigsOrBuilder getDataQualityConfigsOrBuilder()

Applied configs for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202;

Returns
Type Description
DataScanEvent.DataQualityAppliedConfigsOrBuilder

getDataQualityOrBuilder()

public DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
Type Description
DataScanEvent.DataQualityResultOrBuilder

getDataSource()

public String getDataSource()

The data source of the data scan

string data_source = 1;

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public ByteString getDataSourceBytes()

The data source of the data scan

string data_source = 1;

Returns
Type Description
ByteString

The bytes for dataSource.

getDefaultInstanceForType()

public DataScanEvent getDefaultInstanceForType()
Returns
Type Description
DataScanEvent

getEndTime()

public Timestamp getEndTime()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getJobId()

public String getJobId()

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Returns
Type Description
String

The jobId.

getJobIdBytes()

public ByteString getJobIdBytes()

The identifier of the specific data scan job this log entry is for.

string job_id = 2;

Returns
Type Description
ByteString

The bytes for jobId.

getMessage()

public String getMessage()

The message describing the data scan job event.

string message = 7;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The message describing the data scan job event.

string message = 7;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

public Parser<DataScanEvent> getParserForType()
Returns
Type Description
Parser<DataScanEvent>
Overrides

getPostScanActionsResult()

public DataScanEvent.PostScanActionsResult getPostScanActionsResult()

The result of post scan actions.

.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11;

Returns
Type Description
DataScanEvent.PostScanActionsResult

The postScanActionsResult.

getPostScanActionsResultOrBuilder()

public DataScanEvent.PostScanActionsResultOrBuilder getPostScanActionsResultOrBuilder()

The result of post scan actions.

.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11;

Returns
Type Description
DataScanEvent.PostScanActionsResultOrBuilder

getResultCase()

public DataScanEvent.ResultCase getResultCase()
Returns
Type Description
DataScanEvent.ResultCase

getScope()

public DataScanEvent.Scope getScope()

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Returns
Type Description
DataScanEvent.Scope

The scope.

getScopeValue()

public int getScopeValue()

The scope of the data scan (e.g. full, incremental).

.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;

Returns
Type Description
int

The enum numeric value on the wire for scope.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSpecVersion()

public String getSpecVersion()

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Returns
Type Description
String

The specVersion.

getSpecVersionBytes()

public ByteString getSpecVersionBytes()

A version identifier of the spec which was used to execute this job.

string spec_version = 8;

Returns
Type Description
ByteString

The bytes for specVersion.

getStartTime()

public Timestamp getStartTime()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
TimestampOrBuilder

getState()

public DataScanEvent.State getState()

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Returns
Type Description
DataScanEvent.State

The state.

getStateValue()

public int getStateValue()

The status of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.State state = 6;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTrigger()

public DataScanEvent.Trigger getTrigger()

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Returns
Type Description
DataScanEvent.Trigger

The trigger.

getTriggerValue()

public int getTriggerValue()

The trigger type of the data scan job.

.google.cloud.dataplex.v1.DataScanEvent.Trigger trigger = 9;

Returns
Type Description
int

The enum numeric value on the wire for trigger.

getType()

public DataScanEvent.ScanType getType()

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Returns
Type Description
DataScanEvent.ScanType

The type.

getTypeValue()

public int getTypeValue()

The type of the data scan.

.google.cloud.dataplex.v1.DataScanEvent.ScanType type = 5;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasCreateTime()

public boolean hasCreateTime()

The time when the data scan job was created.

.google.protobuf.Timestamp create_time = 12;

Returns
Type Description
boolean

Whether the createTime field is set.

hasDataProfile()

public boolean hasDataProfile()

Data profile result for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;

Returns
Type Description
boolean

Whether the dataProfile field is set.

hasDataProfileConfigs()

public boolean hasDataProfileConfigs()

Applied configs for data profile type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataProfileAppliedConfigs data_profile_configs = 201;

Returns
Type Description
boolean

Whether the dataProfileConfigs field is set.

hasDataQuality()

public boolean hasDataQuality()

Data quality result for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;

Returns
Type Description
boolean

Whether the dataQuality field is set.

hasDataQualityConfigs()

public boolean hasDataQualityConfigs()

Applied configs for data quality type data scan.

.google.cloud.dataplex.v1.DataScanEvent.DataQualityAppliedConfigs data_quality_configs = 202;

Returns
Type Description
boolean

Whether the dataQualityConfigs field is set.

hasEndTime()

public boolean hasEndTime()

The time when the data scan job finished.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasPostScanActionsResult()

public boolean hasPostScanActionsResult()

The result of post scan actions.

.google.cloud.dataplex.v1.DataScanEvent.PostScanActionsResult post_scan_actions_result = 11;

Returns
Type Description
boolean

Whether the postScanActionsResult field is set.

hasStartTime()

public boolean hasStartTime()

The time when the data scan job started to run.

.google.protobuf.Timestamp start_time = 3;

Returns
Type Description
boolean

Whether the startTime 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 DataScanEvent.Builder newBuilderForType()
Returns
Type Description
DataScanEvent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DataScanEvent.Builder toBuilder()
Returns
Type Description
DataScanEvent.Builder

writeTo(CodedOutputStream output)

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