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 boolean
containsLabels(String key)
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DataSource
getData()
Required.DataSourceOrBuilder
getDataOrBuilder()
Required.DataProfileResult
getDataProfileResult()
Output only.DataProfileResultOrBuilder
getDataProfileResultOrBuilder()
Output only.DataProfileSpec
getDataProfileSpec()
DataProfileScan related setting.DataProfileSpecOrBuilder
getDataProfileSpecOrBuilder()
DataProfileScan related setting.DataQualityResult
getDataQualityResult()
Output only.DataQualityResultOrBuilder
getDataQualityResultOrBuilder()
Output only.DataQualitySpec
getDataQualitySpec()
DataQualityScan related setting.DataQualitySpecOrBuilder
getDataQualitySpecOrBuilder()
DataQualityScan related setting.String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.DataScan.ExecutionSpec
getExecutionSpec()
Optional.DataScan.ExecutionSpecOrBuilder
getExecutionSpecOrBuilder()
Optional.DataScan.ExecutionStatus
getExecutionStatus()
Output only.DataScan.ExecutionStatusOrBuilder
getExecutionStatusOrBuilder()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.DataScan.ResultCase
getResultCase()
DataScan.SpecCase
getSpecCase()
State
getState()
Output only.int
getStateValue()
Output only.DataScanType
getType()
Output only.int
getTypeValue()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasData()
Required.boolean
hasDataProfileResult()
Output only.boolean
hasDataProfileSpec()
DataProfileScan related setting.boolean
hasDataQualityResult()
Output only.boolean
hasDataQualitySpec()
DataQualityScan related setting.boolean
hasExecutionSpec()
Optional.boolean
hasExecutionStatus()
Output only.boolean
hasUpdateTime()
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()
-
-