// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/privacy/dlp/v2/dlp.proto

package com.google.privacy.dlp.v2;

public interface DlpJobOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.DlpJob)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The server-assigned name.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * The server-assigned name.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * The type of job.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.DlpJobType type = 2;</code>
   */
  int getTypeValue();
  /**
   * <pre>
   * The type of job.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.DlpJobType type = 2;</code>
   */
  com.google.privacy.dlp.v2.DlpJobType getType();

  /**
   * <pre>
   * State of a job.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.DlpJob.JobState state = 3;</code>
   */
  int getStateValue();
  /**
   * <pre>
   * State of a job.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.DlpJob.JobState state = 3;</code>
   */
  com.google.privacy.dlp.v2.DlpJob.JobState getState();

  /**
   * <pre>
   * Results from analyzing risk of a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;</code>
   */
  boolean hasRiskDetails();
  /**
   * <pre>
   * Results from analyzing risk of a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;</code>
   */
  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails getRiskDetails();
  /**
   * <pre>
   * Results from analyzing risk of a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetails risk_details = 4;</code>
   */
  com.google.privacy.dlp.v2.AnalyzeDataSourceRiskDetailsOrBuilder getRiskDetailsOrBuilder();

  /**
   * <pre>
   * Results from inspecting a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;</code>
   */
  boolean hasInspectDetails();
  /**
   * <pre>
   * Results from inspecting a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;</code>
   */
  com.google.privacy.dlp.v2.InspectDataSourceDetails getInspectDetails();
  /**
   * <pre>
   * Results from inspecting a data source.
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.InspectDataSourceDetails inspect_details = 5;</code>
   */
  com.google.privacy.dlp.v2.InspectDataSourceDetailsOrBuilder getInspectDetailsOrBuilder();

  /**
   * <pre>
   * Time when the job was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   */
  boolean hasCreateTime();
  /**
   * <pre>
   * Time when the job was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   * <pre>
   * Time when the job was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   * <pre>
   * Time when the job started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 7;</code>
   */
  boolean hasStartTime();
  /**
   * <pre>
   * Time when the job started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 7;</code>
   */
  com.google.protobuf.Timestamp getStartTime();
  /**
   * <pre>
   * Time when the job started.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp start_time = 7;</code>
   */
  com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();

  /**
   * <pre>
   * Time when the job finished.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 8;</code>
   */
  boolean hasEndTime();
  /**
   * <pre>
   * Time when the job finished.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 8;</code>
   */
  com.google.protobuf.Timestamp getEndTime();
  /**
   * <pre>
   * Time when the job finished.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp end_time = 8;</code>
   */
  com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();

  /**
   * <pre>
   * If created by a job trigger, the resource name of the trigger that
   * instantiated the job.
   * </pre>
   *
   * <code>string job_trigger_name = 10;</code>
   */
  java.lang.String getJobTriggerName();
  /**
   * <pre>
   * If created by a job trigger, the resource name of the trigger that
   * instantiated the job.
   * </pre>
   *
   * <code>string job_trigger_name = 10;</code>
   */
  com.google.protobuf.ByteString
      getJobTriggerNameBytes();

  /**
   * <pre>
   * A stream of errors encountered running the job.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 11;</code>
   */
  java.util.List<com.google.privacy.dlp.v2.Error> 
      getErrorsList();
  /**
   * <pre>
   * A stream of errors encountered running the job.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 11;</code>
   */
  com.google.privacy.dlp.v2.Error getErrors(int index);
  /**
   * <pre>
   * A stream of errors encountered running the job.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 11;</code>
   */
  int getErrorsCount();
  /**
   * <pre>
   * A stream of errors encountered running the job.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 11;</code>
   */
  java.util.List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder> 
      getErrorsOrBuilderList();
  /**
   * <pre>
   * A stream of errors encountered running the job.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 11;</code>
   */
  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(
      int index);

  public com.google.privacy.dlp.v2.DlpJob.DetailsCase getDetailsCase();
}
