Package com.google.cloud.dataplex.v1
Class DataScan.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
- com.google.cloud.dataplex.v1.DataScan.Builder
-
- All Implemented Interfaces:
DataScanOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataScan
public static final class DataScan.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder> implements DataScanOrBuilder
Represents a user-visible job which provides the insights for the related data source. For example: * Data Quality: generates queries based on the rules and runs against the data to get data quality check results. * Data Profile: analyzes the data in table(s) and generates insights about the structure, content and relationships (such as null percent, cardinality, min/max/mean, etc).
Protobuf typegoogle.cloud.dataplex.v1.DataScan
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
clear
public DataScan.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
getDefaultInstanceForType
public DataScan getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataScan build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataScan buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataScan.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
setField
public DataScan.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
clearField
public DataScan.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
clearOneof
public DataScan.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
setRepeatedField
public DataScan.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
addRepeatedField
public DataScan.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
mergeFrom
public DataScan.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataScan.Builder>
-
mergeFrom
public DataScan.Builder mergeFrom(DataScan other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
mergeFrom
public DataScan.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataScan.Builder>
- Throws:
IOException
-
getSpecCase
public DataScan.SpecCase getSpecCase()
- Specified by:
getSpecCase
in interfaceDataScanOrBuilder
-
clearSpec
public DataScan.Builder clearSpec()
-
getResultCase
public DataScan.ResultCase getResultCase()
- Specified by:
getResultCase
in interfaceDataScanOrBuilder
-
clearResult
public DataScan.Builder clearResult()
-
getName
public 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];
- Specified by:
getName
in interfaceDataScanOrBuilder
- Returns:
- The name.
-
getNameBytes
public 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];
- Specified by:
getNameBytes
in interfaceDataScanOrBuilder
- Returns:
- The bytes for name.
-
setName
public DataScan.Builder setName(String value)
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DataScan.Builder clearName()
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:
- This builder for chaining.
-
setNameBytes
public DataScan.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public 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];
- Specified by:
getUid
in interfaceDataScanOrBuilder
- Returns:
- The uid.
-
getUidBytes
public 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];
- Specified by:
getUidBytes
in interfaceDataScanOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public DataScan.Builder setUid(String value)
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];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public DataScan.Builder clearUid()
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:
- This builder for chaining.
-
setUidBytes
public DataScan.Builder setUidBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getDescription
public String getDescription()
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceDataScanOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceDataScanOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public DataScan.Builder setDescription(String value)
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DataScan.Builder clearDescription()
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DataScan.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the scan. * Must be between 1-1024 characters.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in interfaceDataScanOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];
- Specified by:
getDisplayNameBytes
in interfaceDataScanOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public DataScan.Builder setDisplayName(String value)
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DataScan.Builder clearDisplayName()
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DataScan.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional. User friendly display name. * Must be between 1-256 characters.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DataScanOrBuilder
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceDataScanOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceDataScanOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceDataScanOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceDataScanOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceDataScanOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceDataScanOrBuilder
-
clearLabels
public DataScan.Builder clearLabels()
-
removeLabels
public DataScan.Builder removeLabels(String key)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public DataScan.Builder putLabels(String key, String value)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public DataScan.Builder putAllLabels(Map<String,String> values)
Optional. User-defined labels for the scan.
map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getStateValue
public int getStateValue()
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceDataScanOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public DataScan.Builder setStateValue(int value)
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public State getState()
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceDataScanOrBuilder
- Returns:
- The state.
-
setState
public DataScan.Builder setState(State value)
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public DataScan.Builder clearState()
Output only. Current state of the DataScan.
.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceDataScanOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];
- Specified by:
getCreateTime
in interfaceDataScanOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public DataScan.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DataScan.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DataScan.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public DataScan.Builder clearCreateTime()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the scan was created.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public 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];
- Specified by:
getCreateTimeOrBuilder
in interfaceDataScanOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceDataScanOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];
- Specified by:
getUpdateTime
in interfaceDataScanOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public DataScan.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public DataScan.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public DataScan.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public DataScan.Builder clearUpdateTime()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the scan was last updated.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public 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];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDataScanOrBuilder
-
hasData
public boolean hasData()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasData
in interfaceDataScanOrBuilder
- Returns:
- Whether the data field is set.
-
getData
public DataSource getData()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getData
in interfaceDataScanOrBuilder
- Returns:
- The data.
-
setData
public DataScan.Builder setData(DataSource value)
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
setData
public DataScan.Builder setData(DataSource.Builder builderForValue)
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
mergeData
public DataScan.Builder mergeData(DataSource value)
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
clearData
public DataScan.Builder clearData()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
getDataBuilder
public DataSource.Builder getDataBuilder()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
-
getDataOrBuilder
public DataSourceOrBuilder getDataOrBuilder()
Required. The data source for DataScan.
.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getDataOrBuilder
in interfaceDataScanOrBuilder
-
hasExecutionSpec
public 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];
- Specified by:
hasExecutionSpec
in interfaceDataScanOrBuilder
- Returns:
- Whether the executionSpec field is set.
-
getExecutionSpec
public 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];
- Specified by:
getExecutionSpec
in interfaceDataScanOrBuilder
- Returns:
- The executionSpec.
-
setExecutionSpec
public DataScan.Builder setExecutionSpec(DataScan.ExecutionSpec value)
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];
-
setExecutionSpec
public DataScan.Builder setExecutionSpec(DataScan.ExecutionSpec.Builder builderForValue)
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];
-
mergeExecutionSpec
public DataScan.Builder mergeExecutionSpec(DataScan.ExecutionSpec value)
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];
-
clearExecutionSpec
public DataScan.Builder clearExecutionSpec()
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];
-
getExecutionSpecBuilder
public DataScan.ExecutionSpec.Builder getExecutionSpecBuilder()
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];
-
getExecutionSpecOrBuilder
public 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];
- Specified by:
getExecutionSpecOrBuilder
in interfaceDataScanOrBuilder
-
hasExecutionStatus
public 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];
- Specified by:
hasExecutionStatus
in interfaceDataScanOrBuilder
- Returns:
- Whether the executionStatus field is set.
-
getExecutionStatus
public 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];
- Specified by:
getExecutionStatus
in interfaceDataScanOrBuilder
- Returns:
- The executionStatus.
-
setExecutionStatus
public DataScan.Builder setExecutionStatus(DataScan.ExecutionStatus value)
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExecutionStatus
public DataScan.Builder setExecutionStatus(DataScan.ExecutionStatus.Builder builderForValue)
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExecutionStatus
public DataScan.Builder mergeExecutionStatus(DataScan.ExecutionStatus value)
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExecutionStatus
public DataScan.Builder clearExecutionStatus()
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExecutionStatusBuilder
public DataScan.ExecutionStatus.Builder getExecutionStatusBuilder()
Output only. Status of the data scan execution.
.google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExecutionStatusOrBuilder
public 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];
- Specified by:
getExecutionStatusOrBuilder
in interfaceDataScanOrBuilder
-
getTypeValue
public int getTypeValue()
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTypeValue
in interfaceDataScanOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public DataScan.Builder setTypeValue(int value)
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public DataScanType getType()
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getType
in interfaceDataScanOrBuilder
- Returns:
- The type.
-
setType
public DataScan.Builder setType(DataScanType value)
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public DataScan.Builder clearType()
Output only. The type of DataScan.
.google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasDataQualitySpec
public boolean hasDataQualitySpec()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
- Specified by:
hasDataQualitySpec
in interfaceDataScanOrBuilder
- Returns:
- Whether the dataQualitySpec field is set.
-
getDataQualitySpec
public DataQualitySpec getDataQualitySpec()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
- Specified by:
getDataQualitySpec
in interfaceDataScanOrBuilder
- Returns:
- The dataQualitySpec.
-
setDataQualitySpec
public DataScan.Builder setDataQualitySpec(DataQualitySpec value)
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
setDataQualitySpec
public DataScan.Builder setDataQualitySpec(DataQualitySpec.Builder builderForValue)
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
mergeDataQualitySpec
public DataScan.Builder mergeDataQualitySpec(DataQualitySpec value)
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
clearDataQualitySpec
public DataScan.Builder clearDataQualitySpec()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
getDataQualitySpecBuilder
public DataQualitySpec.Builder getDataQualitySpecBuilder()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
-
getDataQualitySpecOrBuilder
public DataQualitySpecOrBuilder getDataQualitySpecOrBuilder()
DataQualityScan related setting.
.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;
- Specified by:
getDataQualitySpecOrBuilder
in interfaceDataScanOrBuilder
-
hasDataProfileSpec
public boolean hasDataProfileSpec()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
- Specified by:
hasDataProfileSpec
in interfaceDataScanOrBuilder
- Returns:
- Whether the dataProfileSpec field is set.
-
getDataProfileSpec
public DataProfileSpec getDataProfileSpec()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
- Specified by:
getDataProfileSpec
in interfaceDataScanOrBuilder
- Returns:
- The dataProfileSpec.
-
setDataProfileSpec
public DataScan.Builder setDataProfileSpec(DataProfileSpec value)
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
setDataProfileSpec
public DataScan.Builder setDataProfileSpec(DataProfileSpec.Builder builderForValue)
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
mergeDataProfileSpec
public DataScan.Builder mergeDataProfileSpec(DataProfileSpec value)
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
clearDataProfileSpec
public DataScan.Builder clearDataProfileSpec()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
getDataProfileSpecBuilder
public DataProfileSpec.Builder getDataProfileSpecBuilder()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
-
getDataProfileSpecOrBuilder
public DataProfileSpecOrBuilder getDataProfileSpecOrBuilder()
DataProfileScan related setting.
.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
- Specified by:
getDataProfileSpecOrBuilder
in interfaceDataScanOrBuilder
-
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];
- Specified by:
hasDataQualityResult
in interfaceDataScanOrBuilder
- Returns:
- Whether the dataQualityResult field is set.
-
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];
- Specified by:
getDataQualityResult
in interfaceDataScanOrBuilder
- Returns:
- The dataQualityResult.
-
setDataQualityResult
public DataScan.Builder setDataQualityResult(DataQualityResult value)
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDataQualityResult
public DataScan.Builder setDataQualityResult(DataQualityResult.Builder builderForValue)
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDataQualityResult
public DataScan.Builder mergeDataQualityResult(DataQualityResult value)
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDataQualityResult
public DataScan.Builder clearDataQualityResult()
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDataQualityResultBuilder
public DataQualityResult.Builder getDataQualityResultBuilder()
Output only. The result of the data quality scan.
.google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
- Specified by:
getDataQualityResultOrBuilder
in interfaceDataScanOrBuilder
-
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];
- Specified by:
hasDataProfileResult
in interfaceDataScanOrBuilder
- Returns:
- Whether the dataProfileResult field is set.
-
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];
- Specified by:
getDataProfileResult
in interfaceDataScanOrBuilder
- Returns:
- The dataProfileResult.
-
setDataProfileResult
public DataScan.Builder setDataProfileResult(DataProfileResult value)
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDataProfileResult
public DataScan.Builder setDataProfileResult(DataProfileResult.Builder builderForValue)
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDataProfileResult
public DataScan.Builder mergeDataProfileResult(DataProfileResult value)
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDataProfileResult
public DataScan.Builder clearDataProfileResult()
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDataProfileResultBuilder
public DataProfileResult.Builder getDataProfileResultBuilder()
Output only. The result of the data profile scan.
.google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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];
- Specified by:
getDataProfileResultOrBuilder
in interfaceDataScanOrBuilder
-
setUnknownFields
public final DataScan.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
mergeUnknownFields
public final DataScan.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
-
-