com.google.privacy.dlp.v2.JobTriggerOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-dlp-v2 Show documentation
Show all versions of proto-google-cloud-dlp-v2 Show documentation
PROTO library for proto-google-cloud-dlp-v2
/*
* Copyright 2024 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/privacy/dlp/v2/dlp.proto
// Protobuf Java Version: 3.25.4
package com.google.privacy.dlp.v2;
public interface JobTriggerOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.privacy.dlp.v2.JobTrigger)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return The name.
*/
java.lang.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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Display name (max 100 chars)
*
*
* string display_name = 2;
*
* @return The displayName.
*/
java.lang.String getDisplayName();
/**
*
*
*
* Display name (max 100 chars)
*
*
* string display_name = 2;
*
* @return The bytes for displayName.
*/
com.google.protobuf.ByteString getDisplayNameBytes();
/**
*
*
*
* User provided description (max 256 chars)
*
*
* string description = 3;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* User provided description (max 256 chars)
*
*
* string description = 3;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* For inspect jobs, a snapshot of the configuration.
*
*
* .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*
* @return Whether the inspectJob field is set.
*/
boolean hasInspectJob();
/**
*
*
*
* For inspect jobs, a snapshot of the configuration.
*
*
* .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*
* @return The inspectJob.
*/
com.google.privacy.dlp.v2.InspectJobConfig getInspectJob();
/**
*
*
*
* For inspect jobs, a snapshot of the configuration.
*
*
* .google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
*/
com.google.privacy.dlp.v2.InspectJobConfigOrBuilder getInspectJobOrBuilder();
/**
*
*
*
* 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;
*/
java.util.List 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;
*/
com.google.privacy.dlp.v2.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;
*/
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;
*/
java.util.List extends com.google.privacy.dlp.v2.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;
*/
com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder getTriggersOrBuilder(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];
*
*/
java.util.List 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];
*
*/
com.google.privacy.dlp.v2.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];
*
*/
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];
*
*/
java.util.List extends com.google.privacy.dlp.v2.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];
*
*/
com.google.privacy.dlp.v2.ErrorOrBuilder getErrorsOrBuilder(int index);
/**
*
*
*
* Output only. The creation timestamp of a triggeredJob.
*
*
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. The creation timestamp of a triggeredJob.
*
*
* .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
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];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Output only. The last update timestamp of a triggeredJob.
*
*
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the updateTime field is set.
*/
boolean hasUpdateTime();
/**
*
*
*
* Output only. The last update timestamp of a triggeredJob.
*
*
* .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The updateTime.
*/
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];
*
*/
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
/**
*
*
*
* Output only. The timestamp of the last time this trigger executed.
*
*
*
* .google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the lastRunTime field is set.
*/
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];
*
*
* @return The lastRunTime.
*/
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];
*
*/
com.google.protobuf.TimestampOrBuilder getLastRunTimeOrBuilder();
/**
*
*
*
* Required. A status for this trigger.
*
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
*
*
* Required. A status for this trigger.
*
*
*
* .google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The status.
*/
com.google.privacy.dlp.v2.JobTrigger.Status getStatus();
com.google.privacy.dlp.v2.JobTrigger.JobCase getJobCase();
}