public final class DataScanJob extends GeneratedMessageV3 implements DataScanJobOrBuilder
A DataScanJob represents an instance of DataScan execution.
Protobuf type google.cloud.dataplex.v1.DataScanJob
Static Fields
DATA_PROFILE_RESULT_FIELD_NUMBER
public static final int DATA_PROFILE_RESULT_FIELD_NUMBER
Field Value
DATA_PROFILE_SPEC_FIELD_NUMBER
public static final int DATA_PROFILE_SPEC_FIELD_NUMBER
Field Value
DATA_QUALITY_RESULT_FIELD_NUMBER
public static final int DATA_QUALITY_RESULT_FIELD_NUMBER
Field Value
DATA_QUALITY_SPEC_FIELD_NUMBER
public static final int DATA_QUALITY_SPEC_FIELD_NUMBER
Field Value
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_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
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
Field Value
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DataScanJob getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DataScanJob.Builder newBuilder()
Returns
newBuilder(DataScanJob prototype)
public static DataScanJob.Builder newBuilder(DataScanJob prototype)
Parameter
Returns
public static DataScanJob parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataScanJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DataScanJob parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataScanJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DataScanJob parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataScanJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataScanJob parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DataScanJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DataScanJob parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DataScanJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DataScanJob parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataScanJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DataScanJob> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDataProfileResult()
public DataProfileResult getDataProfileResult()
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataProfileResultOrBuilder()
public DataProfileResultOrBuilder getDataProfileResultOrBuilder()
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataProfileSpec()
public DataProfileSpec getDataProfileSpec()
Output only. DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataProfileSpecOrBuilder()
public DataProfileSpecOrBuilder getDataProfileSpecOrBuilder()
Output only. DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataQualityResult()
public DataQualityResult getDataQualityResult()
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataQualityResultOrBuilder()
public DataQualityResultOrBuilder getDataQualityResultOrBuilder()
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataQualitySpec()
public DataQualitySpec getDataQualitySpec()
Output only. DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDataQualitySpecOrBuilder()
public DataQualitySpecOrBuilder getDataQualitySpecOrBuilder()
Output only. DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getDefaultInstanceForType()
public DataScanJob getDefaultInstanceForType()
Returns
getEndTime()
public Timestamp getEndTime()
Output only. The time when the DataScanJob ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time when the DataScanJob ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getMessage()
public String getMessage()
Output only. Additional information about the current state.
string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The message.
|
getMessageBytes()
public ByteString getMessageBytes()
Output only. Additional information about the current state.
string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getName()
Output only. The relative resource name of the DataScanJob, of the form:
projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}
,
where project
refers to a project_id or project_number and
location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The relative resource name of the DataScanJob, of the form:
projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}
,
where project
refers to a project_id or project_number and
location_id
refers to a GCP region.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<DataScanJob> getParserForType()
Returns
Overrides
getResultCase()
public DataScanJob.ResultCase getResultCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSpecCase()
public DataScanJob.SpecCase getSpecCase()
Returns
getStartTime()
public Timestamp getStartTime()
Output only. The time when the DataScanJob was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Output only. The time when the DataScanJob was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getState()
public DataScanJob.State getState()
Output only. Execution state for the DataScanJob.
.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getStateValue()
public int getStateValue()
Output only. Execution state for the DataScanJob.
.google.cloud.dataplex.v1.DataScanJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for state.
|
getType()
public DataScanType getType()
Output only. The type of the parent DataScan.
.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getTypeValue()
public int getTypeValue()
Output only. The type of the parent DataScan.
.google.cloud.dataplex.v1.DataScanType type = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
int | The enum numeric value on the wire for type.
|
getUid()
Output only. System generated globally unique ID for the DataScanJob.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUidBytes()
public ByteString getUidBytes()
Output only. System generated globally unique ID for the DataScanJob.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasDataProfileResult()
public boolean hasDataProfileResult()
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the dataProfileResult field is set.
|
hasDataProfileSpec()
public boolean hasDataProfileSpec()
Output only. DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the dataProfileSpec field is set.
|
hasDataQualityResult()
public boolean hasDataQualityResult()
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the dataQualityResult field is set.
|
hasDataQualitySpec()
public boolean hasDataQualitySpec()
Output only. DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the dataQualitySpec field is set.
|
hasEndTime()
public boolean hasEndTime()
Output only. The time when the DataScanJob ended.
.google.protobuf.Timestamp end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the endTime field is set.
|
hasStartTime()
public boolean hasStartTime()
Output only. The time when the DataScanJob was started.
.google.protobuf.Timestamp start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 DataScanJob.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DataScanJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DataScanJob.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions