public final class DataScanEvent extends GeneratedMessageV3 implements DataScanEventOrBuilder
These messages contain information about the execution of a datascan.
The monitored resource is 'DataScan'
Protobuf type google.cloud.dataplex.v1.DataScanEvent
Static Fields
DATA_PROFILE_FIELD_NUMBER
public static final int DATA_PROFILE_FIELD_NUMBER
Field Value
DATA_QUALITY_FIELD_NUMBER
public static final int DATA_QUALITY_FIELD_NUMBER
Field Value
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
JOB_ID_FIELD_NUMBER
public static final int JOB_ID_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
Field Value
SPEC_VERSION_FIELD_NUMBER
public static final int SPEC_VERSION_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
TRIGGER_FIELD_NUMBER
public static final int TRIGGER_FIELD_NUMBER
Field Value
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataScanEvent getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataScanEvent.Builder newBuilder()
Returns
newBuilder(DataScanEvent prototype)
public static DataScanEvent.Builder newBuilder(DataScanEvent prototype)
Parameter
Returns
public static DataScanEvent parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataScanEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataScanEvent parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataScanEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataScanEvent parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataScanEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataScanEvent parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataScanEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataScanEvent parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataScanEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataScanEvent parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataScanEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataScanEvent> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDataProfile()
public DataScanEvent.DataProfileResult getDataProfile()
Data profile result for data profile type data scan.
.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;
Returns
getDataProfileOrBuilder()
public DataScanEvent.DataProfileResultOrBuilder getDataProfileOrBuilder()
Data profile result for data profile type data scan.
.google.cloud.dataplex.v1.DataScanEvent.DataProfileResult data_profile = 101;
Returns
getDataQuality()
public DataScanEvent.DataQualityResult getDataQuality()
Data quality result for data quality type data scan.
.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;
Returns
getDataQualityOrBuilder()
public DataScanEvent.DataQualityResultOrBuilder getDataQualityOrBuilder()
Data quality result for data quality type data scan.
.google.cloud.dataplex.v1.DataScanEvent.DataQualityResult data_quality = 102;
Returns
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
getEndTime()
public Timestamp getEndTime()
The time when the data scan job finished.
.google.protobuf.Timestamp end_time = 4;
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time when the data scan job finished.
.google.protobuf.Timestamp end_time = 4;
Returns
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
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
getParserForType()
public Parser<DataScanEvent> getParserForType()
Returns
Overrides
getResultCase()
public DataScanEvent.ResultCase getResultCase()
Returns
getScope()
public DataScanEvent.Scope getScope()
The scope of the data scan (e.g. full, incremental).
.google.cloud.dataplex.v1.DataScanEvent.Scope scope = 10;
Returns
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
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
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time when the data scan job started to run.
.google.protobuf.Timestamp start_time = 3;
Returns
getState()
public DataScanEvent.State getState()
The status of the data scan job.
.google.cloud.dataplex.v1.DataScanEvent.State state = 6;
Returns
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
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
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
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.
|
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.
|
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DataScanEvent.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataScanEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataScanEvent.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions