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

package com.google.privacy.dlp.v2;

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

  /**
   *
   *
   * <pre>
   * Unique resource name for the triggeredJob, assigned by the service when the
   * triggeredJob is created, for example
   * `projects/dlp-test-project/triggeredJobs/53234423`.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Unique resource name for the triggeredJob, assigned by the service when the
   * triggeredJob is created, for example
   * `projects/dlp-test-project/triggeredJobs/53234423`.
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Display name (max 100 chars)
   * </pre>
   *
   * <code>string display_name = 2;</code>
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * Display name (max 100 chars)
   * </pre>
   *
   * <code>string display_name = 2;</code>
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * User provided description (max 256 chars)
   * </pre>
   *
   * <code>string description = 3;</code>
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * User provided description (max 256 chars)
   * </pre>
   *
   * <code>string description = 3;</code>
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /** <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;</code> */
  boolean hasInspectJob();
  /** <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;</code> */
  com.google.privacy.dlp.v2.InspectJobConfig getInspectJob();
  /** <code>.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;</code> */
  com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder();

  /**
   *
   *
   * <pre>
   * A list of triggers which will be OR'ed together. Only one in the list
   * needs to trigger for a job to be started. The list may contain only
   * a single Schedule trigger and must have at least one object.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;</code>
   */
  java.util.List<com.google.privacy.dlp.v2.JobTrigger.Trigger> getTriggersList();
  /**
   *
   *
   * <pre>
   * A list of triggers which will be OR'ed together. Only one in the list
   * needs to trigger for a job to be started. The list may contain only
   * a single Schedule trigger and must have at least one object.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;</code>
   */
  com.google.privacy.dlp.v2.JobTrigger.Trigger getTriggers(int index);
  /**
   *
   *
   * <pre>
   * A list of triggers which will be OR'ed together. Only one in the list
   * needs to trigger for a job to be started. The list may contain only
   * a single Schedule trigger and must have at least one object.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;</code>
   */
  int getTriggersCount();
  /**
   *
   *
   * <pre>
   * A list of triggers which will be OR'ed together. Only one in the list
   * needs to trigger for a job to be started. The list may contain only
   * a single Schedule trigger and must have at least one object.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;</code>
   */
  java.util.List<? extends com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>
      getTriggersOrBuilderList();
  /**
   *
   *
   * <pre>
   * A list of triggers which will be OR'ed together. Only one in the list
   * needs to trigger for a job to be started. The list may contain only
   * a single Schedule trigger and must have at least one object.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;</code>
   */
  com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * A stream of errors encountered when the trigger was activated. Repeated
   * errors may result in the JobTrigger automatically being paused.
   * Will return the last 100 errors. Whenever the JobTrigger is modified
   * this list will be cleared. Output only field.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
   */
  java.util.List<com.google.privacy.dlp.v2.Error> getErrorsList();
  /**
   *
   *
   * <pre>
   * A stream of errors encountered when the trigger was activated. Repeated
   * errors may result in the JobTrigger automatically being paused.
   * Will return the last 100 errors. Whenever the JobTrigger is modified
   * this list will be cleared. Output only field.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
   */
  com.google.privacy.dlp.v2.Error getErrors(int index);
  /**
   *
   *
   * <pre>
   * A stream of errors encountered when the trigger was activated. Repeated
   * errors may result in the JobTrigger automatically being paused.
   * Will return the last 100 errors. Whenever the JobTrigger is modified
   * this list will be cleared. Output only field.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
   */
  int getErrorsCount();
  /**
   *
   *
   * <pre>
   * A stream of errors encountered when the trigger was activated. Repeated
   * errors may result in the JobTrigger automatically being paused.
   * Will return the last 100 errors. Whenever the JobTrigger is modified
   * this list will be cleared. Output only field.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
   */
  java.util.List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder> getErrorsOrBuilderList();
  /**
   *
   *
   * <pre>
   * A stream of errors encountered when the trigger was activated. Repeated
   * errors may result in the JobTrigger automatically being paused.
   * Will return the last 100 errors. Whenever the JobTrigger is modified
   * this list will be cleared. Output only field.
   * </pre>
   *
   * <code>repeated .google.privacy.dlp.v2.Error errors = 6;</code>
   */
  com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * The creation timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7;</code>
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * The creation timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7;</code>
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * The creation timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 7;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The last update timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8;</code>
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * The last update timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8;</code>
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * The last update timestamp of a triggeredJob, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 8;</code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The timestamp of the last time this trigger executed, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_run_time = 9;</code>
   */
  boolean hasLastRunTime();
  /**
   *
   *
   * <pre>
   * The timestamp of the last time this trigger executed, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_run_time = 9;</code>
   */
  com.google.protobuf.Timestamp getLastRunTime();
  /**
   *
   *
   * <pre>
   * The timestamp of the last time this trigger executed, output only field.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_run_time = 9;</code>
   */
  com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * A status for this trigger. [required]
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.JobTrigger.Status status = 10;</code>
   */
  int getStatusValue();
  /**
   *
   *
   * <pre>
   * A status for this trigger. [required]
   * </pre>
   *
   * <code>.google.privacy.dlp.v2.JobTrigger.Status status = 10;</code>
   */
  com.google.privacy.dlp.v2.JobTrigger.Status getStatus();

  public com.google.privacy.dlp.v2.JobTrigger.JobCase getJobCase();
}
