Interface JobTriggerOrBuilder (3.10.0)

public interface JobTriggerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The creation timestamp of a triggeredJob.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The creation timestamp of a triggeredJob.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDescription()

public abstract String getDescription()

User provided description (max 256 chars)

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

User provided description (max 256 chars)

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Display name (max 100 chars)

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Display name (max 100 chars)

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getErrors(int index)

public abstract 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
Error

getErrorsCount()

public abstract 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];

Returns
TypeDescription
int

getErrorsList()

public abstract 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];

Returns
TypeDescription
List<Error>

getErrorsOrBuilder(int index)

public abstract 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
ErrorOrBuilder

getErrorsOrBuilderList()

public abstract 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];

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder>

getInspectJob()

public abstract InspectJobConfig getInspectJob()

For inspect jobs, a snapshot of the configuration.

.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;

Returns
TypeDescription
InspectJobConfig

The inspectJob.

getInspectJobOrBuilder()

public abstract InspectJobConfigOrBuilder getInspectJobOrBuilder()

For inspect jobs, a snapshot of the configuration.

.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;

Returns
TypeDescription
InspectJobConfigOrBuilder

getJobCase()

public abstract JobTrigger.JobCase getJobCase()
Returns
TypeDescription
JobTrigger.JobCase

getLastRunTime()

public abstract 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
TypeDescription
Timestamp

The lastRunTime.

getLastRunTimeOrBuilder()

public abstract 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];

Returns
TypeDescription
TimestampOrBuilder

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getStatus()

public abstract JobTrigger.Status getStatus()

Required. A status for this trigger.

.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
JobTrigger.Status

The status.

getStatusValue()

public abstract int getStatusValue()

Required. A status for this trigger.

.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for status.

getTriggers(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTrigger.Trigger

getTriggersCount()

public abstract 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;

Returns
TypeDescription
int

getTriggersList()

public abstract 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;

Returns
TypeDescription
List<Trigger>

getTriggersOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
JobTrigger.TriggerOrBuilder

getTriggersOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder>

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The last update timestamp of a triggeredJob.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The last update timestamp of a triggeredJob.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The creation timestamp of a triggeredJob.

.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

hasInspectJob()

public abstract boolean hasInspectJob()

For inspect jobs, a snapshot of the configuration.

.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;

Returns
TypeDescription
boolean

Whether the inspectJob field is set.

hasLastRunTime()

public abstract 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
TypeDescription
boolean

Whether the lastRunTime field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The last update timestamp of a triggeredJob.

.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the updateTime field is set.