/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dataplex/v1/datascans.proto

package com.google.cloud.dataplex.v1;

public interface DataScanOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dataplex.v1.DataScan)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The uid.
   */
  java.lang.String getUid();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for uid.
   */
  com.google.protobuf.ByteString getUidBytes();

  /**
   *
   *
   * <pre>
   * Optional. Description of the scan.
   * * Must be between 1-1024 characters.
   * </pre>
   *
   * <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * Optional. Description of the scan.
   * * Must be between 1-1024 characters.
   * </pre>
   *
   * <code>string description = 3 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Optional. User friendly display name.
   * * Must be between 1-256 characters.
   * </pre>
   *
   * <code>string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The displayName.
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * Optional. User friendly display name.
   * * Must be between 1-256 characters.
   * </pre>
   *
   * <code>string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];</code>
   *
   * @return The bytes for displayName.
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * Optional. User-defined labels for the scan.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
   */
  int getLabelsCount();
  /**
   *
   *
   * <pre>
   * Optional. User-defined labels for the scan.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
   */
  boolean containsLabels(java.lang.String key);
  /** Use {@link #getLabelsMap()} instead. */
  @java.lang.Deprecated
  java.util.Map<java.lang.String, java.lang.String> getLabels();
  /**
   *
   *
   * <pre>
   * Optional. User-defined labels for the scan.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
   */
  java.util.Map<java.lang.String, java.lang.String> getLabelsMap();
  /**
   *
   *
   * <pre>
   * Optional. User-defined labels for the scan.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
   */
  /* nullable */
  java.lang.String getLabelsOrDefault(
      java.lang.String key,
      /* nullable */
      java.lang.String defaultValue);
  /**
   *
   *
   * <pre>
   * Optional. User-defined labels for the scan.
   * </pre>
   *
   * <code>map&lt;string, string&gt; labels = 5 [(.google.api.field_behavior) = OPTIONAL];</code>
   */
  java.lang.String getLabelsOrThrow(java.lang.String key);

  /**
   *
   *
   * <pre>
   * Output only. Current state of the DataScan.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. Current state of the DataScan.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.dataplex.v1.State getState();

  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time when the scan was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Required. The data source for DataScan.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return Whether the data field is set.
   */
  boolean hasData();
  /**
   *
   *
   * <pre>
   * Required. The data source for DataScan.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   *
   * @return The data.
   */
  com.google.cloud.dataplex.v1.DataSource getData();
  /**
   *
   *
   * <pre>
   * Required. The data source for DataScan.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataSource data = 9 [(.google.api.field_behavior) = REQUIRED];
   * </code>
   */
  com.google.cloud.dataplex.v1.DataSourceOrBuilder getDataOrBuilder();

  /**
   *
   *
   * <pre>
   * Optional. DataScan execution settings.
   * If not specified, the fields in it will use their default values.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return Whether the executionSpec field is set.
   */
  boolean hasExecutionSpec();
  /**
   *
   *
   * <pre>
   * Optional. DataScan execution settings.
   * If not specified, the fields in it will use their default values.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   *
   * @return The executionSpec.
   */
  com.google.cloud.dataplex.v1.DataScan.ExecutionSpec getExecutionSpec();
  /**
   *
   *
   * <pre>
   * Optional. DataScan execution settings.
   * If not specified, the fields in it will use their default values.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionSpec execution_spec = 10 [(.google.api.field_behavior) = OPTIONAL];
   * </code>
   */
  com.google.cloud.dataplex.v1.DataScan.ExecutionSpecOrBuilder getExecutionSpecOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Status of the data scan execution.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the executionStatus field is set.
   */
  boolean hasExecutionStatus();
  /**
   *
   *
   * <pre>
   * Output only. Status of the data scan execution.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The executionStatus.
   */
  com.google.cloud.dataplex.v1.DataScan.ExecutionStatus getExecutionStatus();
  /**
   *
   *
   * <pre>
   * Output only. Status of the data scan execution.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScan.ExecutionStatus execution_status = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.dataplex.v1.DataScan.ExecutionStatusOrBuilder getExecutionStatusOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The type of DataScan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for type.
   */
  int getTypeValue();
  /**
   *
   *
   * <pre>
   * Output only. The type of DataScan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataScanType type = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The type.
   */
  com.google.cloud.dataplex.v1.DataScanType getType();

  /**
   *
   *
   * <pre>
   * DataQualityScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;</code>
   *
   * @return Whether the dataQualitySpec field is set.
   */
  boolean hasDataQualitySpec();
  /**
   *
   *
   * <pre>
   * DataQualityScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;</code>
   *
   * @return The dataQualitySpec.
   */
  com.google.cloud.dataplex.v1.DataQualitySpec getDataQualitySpec();
  /**
   *
   *
   * <pre>
   * DataQualityScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataQualitySpec data_quality_spec = 100;</code>
   */
  com.google.cloud.dataplex.v1.DataQualitySpecOrBuilder getDataQualitySpecOrBuilder();

  /**
   *
   *
   * <pre>
   * DataProfileScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;</code>
   *
   * @return Whether the dataProfileSpec field is set.
   */
  boolean hasDataProfileSpec();
  /**
   *
   *
   * <pre>
   * DataProfileScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;</code>
   *
   * @return The dataProfileSpec.
   */
  com.google.cloud.dataplex.v1.DataProfileSpec getDataProfileSpec();
  /**
   *
   *
   * <pre>
   * DataProfileScan related setting.
   * </pre>
   *
   * <code>.google.cloud.dataplex.v1.DataProfileSpec data_profile_spec = 101;</code>
   */
  com.google.cloud.dataplex.v1.DataProfileSpecOrBuilder getDataProfileSpecOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The result of the data quality scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the dataQualityResult field is set.
   */
  boolean hasDataQualityResult();
  /**
   *
   *
   * <pre>
   * Output only. The result of the data quality scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The dataQualityResult.
   */
  com.google.cloud.dataplex.v1.DataQualityResult getDataQualityResult();
  /**
   *
   *
   * <pre>
   * Output only. The result of the data quality scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataQualityResult data_quality_result = 200 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.dataplex.v1.DataQualityResultOrBuilder getDataQualityResultOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The result of the data profile scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the dataProfileResult field is set.
   */
  boolean hasDataProfileResult();
  /**
   *
   *
   * <pre>
   * Output only. The result of the data profile scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The dataProfileResult.
   */
  com.google.cloud.dataplex.v1.DataProfileResult getDataProfileResult();
  /**
   *
   *
   * <pre>
   * Output only. The result of the data profile scan.
   * </pre>
   *
   * <code>
   * .google.cloud.dataplex.v1.DataProfileResult data_profile_result = 201 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.dataplex.v1.DataProfileResultOrBuilder getDataProfileResultOrBuilder();

  public com.google.cloud.dataplex.v1.DataScan.SpecCase getSpecCase();

  public com.google.cloud.dataplex.v1.DataScan.ResultCase getResultCase();
}
