Package com.google.cloud.dataplex.v1
Interface DataScanOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DataScan,DataScan.Builder
public interface DataScanOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Optional.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.DataSourcegetData()Required.DataSourceOrBuildergetDataOrBuilder()Required.DataProfileResultgetDataProfileResult()Output only.DataProfileResultOrBuildergetDataProfileResultOrBuilder()Output only.DataProfileSpecgetDataProfileSpec()DataProfileScan related setting.DataProfileSpecOrBuildergetDataProfileSpecOrBuilder()DataProfileScan related setting.DataQualityResultgetDataQualityResult()Output only.DataQualityResultOrBuildergetDataQualityResultOrBuilder()Output only.DataQualitySpecgetDataQualitySpec()DataQualityScan related setting.DataQualitySpecOrBuildergetDataQualitySpecOrBuilder()DataQualityScan related setting.StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.DataScan.ExecutionSpecgetExecutionSpec()Optional.DataScan.ExecutionSpecOrBuildergetExecutionSpecOrBuilder()Optional.DataScan.ExecutionStatusgetExecutionStatus()Output only.DataScan.ExecutionStatusOrBuildergetExecutionStatusOrBuilder()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.DataScan.ResultCasegetResultCase()DataScan.SpecCasegetSpecCase()StategetState()Output only.intgetStateValue()Output only.DataScanTypegetType()Output only.intgetTypeValue()Output only.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasCreateTime()Output only.booleanhasData()Required.booleanhasDataProfileResult()Output only.booleanhasDataProfileSpec()DataProfileScan related setting.booleanhasDataQualityResult()Output only.booleanhasDataQualitySpec()DataQualityScan related setting.booleanhasExecutionSpec()Optional.booleanhasExecutionStatus()Output only.booleanhasUpdateTime()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The relative resource name of the scan, of the form: `projects/{project}/locations/{location_id}/dataScans/{datascan_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:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The relative resource name of the scan, of the form: `projects/{project}/locations/{location_id}/dataScans/{datascan_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:
- The bytes for name.
-
getUid
String getUid()
Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the scan. This ID will be different if the scan is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for uid.
-
getDescription
String getDescription()
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
getDisplayName
String getDisplayName()
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for displayName.
-
getLabelsCount
int getLabelsCount()
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
containsLabels
boolean containsLabels(String key)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getStateValue
int getStateValue()
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
State getState()
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The state.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasUpdateTime
boolean hasUpdateTime()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasData
boolean hasData()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the data field is set.
-
getData
DataSource getData()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The data.
-
getDataOrBuilder
DataSourceOrBuilder getDataOrBuilder()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
hasExecutionSpec
boolean hasExecutionSpec()
Optional. DataScan execution settings. If not specified, the fields in it will use their default values.
.google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the executionSpec field is set.
-
getExecutionSpec
DataScan.ExecutionSpec getExecutionSpec()
Optional. DataScan execution settings. If not specified, the fields in it will use their default values.
.google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The executionSpec.
-
getExecutionSpecOrBuilder
DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder()
Optional. DataScan execution settings. If not specified, the fields in it will use their default values.
.google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];
-
hasExecutionStatus
boolean hasExecutionStatus()
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the executionStatus field is set.
-
getExecutionStatus
DataScan.ExecutionStatus getExecutionStatus()
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The executionStatus.
-
getExecutionStatusOrBuilder
DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder()
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTypeValue
int getTypeValue()
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
DataScanType getType()
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
hasDataQualitySpec
boolean hasDataQualitySpec()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;- Returns:
- Whether the dataQualitySpec field is set.
-
getDataQualitySpec
DataQualitySpec getDataQualitySpec()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;- Returns:
- The dataQualitySpec.
-
getDataQualitySpecOrBuilder
DataQualitySpecOrBuilder getDataQualitySpecOrBuilder()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
hasDataProfileSpec
boolean hasDataProfileSpec()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;- Returns:
- Whether the dataProfileSpec field is set.
-
getDataProfileSpec
DataProfileSpec getDataProfileSpec()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;- Returns:
- The dataProfileSpec.
-
getDataProfileSpecOrBuilder
DataProfileSpecOrBuilder getDataProfileSpecOrBuilder()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
hasDataQualityResult
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:
- Whether the dataQualityResult field is set.
-
getDataQualityResult
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:
- The dataQualityResult.
-
getDataQualityResultOrBuilder
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];
-
hasDataProfileResult
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:
- Whether the dataProfileResult field is set.
-
getDataProfileResult
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:
- The dataProfileResult.
-
getDataProfileResultOrBuilder
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];
-
getSpecCase
DataScan.SpecCase getSpecCase()
-
getResultCase
DataScan.ResultCase getResultCase()
-
-