Class 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 type google.cloud.dataplex.v1.DataScan
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • clear

        public DataScan.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • getDefaultInstanceForType

        public DataScan getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public DataScan build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public DataScan buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public DataScan.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • setField

        public DataScan.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                         Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • clearField

        public DataScan.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • clearOneof

        public DataScan.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • addRepeatedField

        public DataScan.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                 Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • mergeFrom

        public DataScan.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataScan.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataScan.Builder>
        Throws:
        IOException
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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];
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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];
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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;
      • hasDataProfileSpec

        public boolean hasDataProfileSpec()
         DataProfileScan related setting.
         
        .google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;
        Specified by:
        hasDataProfileSpec in interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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;
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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];
      • 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 interface DataScanOrBuilder
        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 interface DataScanOrBuilder
        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];
      • setUnknownFields

        public final DataScan.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>
      • mergeUnknownFields

        public final DataScan.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DataScan.Builder>