Interface JobTriggerOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
JobTrigger, JobTrigger.Builder

@Generated public interface JobTriggerOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Unique resource name for the triggeredJob, assigned by the service when the
       triggeredJob is created, for example
       `projects/dlp-test-project/jobTriggers/53234423`.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Unique resource name for the triggeredJob, assigned by the service when the
       triggeredJob is created, for example
       `projects/dlp-test-project/jobTriggers/53234423`.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getDisplayName

      String getDisplayName()
       Display name (max 100 chars)
       
      string display_name = 2;
      Returns:
      The displayName.
    • getDisplayNameBytes

      com.google.protobuf.ByteString getDisplayNameBytes()
       Display name (max 100 chars)
       
      string display_name = 2;
      Returns:
      The bytes for displayName.
    • getDescription

      String getDescription()
       User provided description (max 256 chars)
       
      string description = 3;
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       User provided description (max 256 chars)
       
      string description = 3;
      Returns:
      The bytes for description.
    • hasInspectJob

      boolean hasInspectJob()
       For inspect jobs, a snapshot of the configuration.
       
      .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
      Returns:
      Whether the inspectJob field is set.
    • getInspectJob

      InspectJobConfig getInspectJob()
       For inspect jobs, a snapshot of the configuration.
       
      .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
      Returns:
      The inspectJob.
    • getInspectJobOrBuilder

      InspectJobConfigOrBuilder getInspectJobOrBuilder()
       For inspect jobs, a snapshot of the configuration.
       
      .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
    • getTriggersList

      List<JobTrigger.Trigger> getTriggersList()
       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.
       
      repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    • getTriggers

      JobTrigger.Trigger getTriggers(int index)
       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.
       
      repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    • getTriggersCount

      int getTriggersCount()
       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.
       
      repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    • getTriggersOrBuilderList

      List<? extends JobTrigger.TriggerOrBuilder> getTriggersOrBuilderList()
       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.
       
      repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    • getTriggersOrBuilder

      JobTrigger.TriggerOrBuilder getTriggersOrBuilder(int index)
       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.
       
      repeated .google.privacy.dlp.v2.JobTrigger.Trigger triggers = 5;
    • getErrorsList

      List<Error> getErrorsList()
       Output only. 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.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrors

      Error getErrors(int index)
       Output only. 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.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsCount

      int getErrorsCount()
       Output only. 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.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilderList

      List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
       Output only. 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.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getErrorsOrBuilder

      ErrorOrBuilder getErrorsOrBuilder(int index)
       Output only. 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.
       
      repeated .google.privacy.dlp.v2.Error errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasCreateTime

      boolean hasCreateTime()
       Output only. The creation timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. The creation timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The creation timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasUpdateTime

      boolean hasUpdateTime()
       Output only. The last update timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      com.google.protobuf.Timestamp getUpdateTime()
       Output only. The last update timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The updateTime.
    • getUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The last update timestamp of a triggeredJob.
       
      .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasLastRunTime

      boolean hasLastRunTime()
       Output only. The timestamp of the last time this trigger executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the lastRunTime field is set.
    • getLastRunTime

      com.google.protobuf.Timestamp getLastRunTime()
       Output only. The timestamp of the last time this trigger executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The lastRunTime.
    • getLastRunTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder()
       Output only. The timestamp of the last time this trigger executed.
       
      .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStatusValue

      int getStatusValue()
       Required. A status for this trigger.
       
      .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      JobTrigger.Status getStatus()
       Required. A status for this trigger.
       
      .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The status.
    • getJobCase

      JobTrigger.JobCase getJobCase()