- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public static final class JobTrigger.Builder extends GeneratedMessageV3.Builder<JobTrigger.Builder> implements JobTriggerOrBuilder
Contains a configuration to make api calls on a repeating basis. See https://cloud.google.com/sensitive-data-protection/docs/concepts-job-triggers to learn more.
Protobuf type google.privacy.dlp.v2.JobTrigger
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > JobTrigger.BuilderImplements
JobTriggerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllErrors(Iterable<? extends Error> values)
public JobTrigger.Builder addAllErrors(Iterable<? extends Error> values)
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.Error> |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addAllTriggers(Iterable<? extends JobTrigger.Trigger> values)
public JobTrigger.Builder addAllTriggers(Iterable<? extends JobTrigger.Trigger> values)
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.privacy.dlp.v2.JobTrigger.Trigger> |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addErrors(Error value)
public JobTrigger.Builder addErrors(Error value)
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 | |
---|---|
Name | Description |
value |
Error |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addErrors(Error.Builder builderForValue)
public JobTrigger.Builder addErrors(Error.Builder builderForValue)
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 | |
---|---|
Name | Description |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addErrors(int index, Error value)
public JobTrigger.Builder addErrors(int index, Error value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Error |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addErrors(int index, Error.Builder builderForValue)
public JobTrigger.Builder addErrors(int index, Error.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addErrorsBuilder()
public Error.Builder addErrorsBuilder()
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 | |
---|---|
Type | Description |
Error.Builder |
addErrorsBuilder(int index)
public Error.Builder addErrorsBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addTriggers(JobTrigger.Trigger value)
public JobTrigger.Builder addTriggers(JobTrigger.Trigger value)
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 | |
---|---|
Name | Description |
value |
JobTrigger.Trigger |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addTriggers(JobTrigger.Trigger.Builder builderForValue)
public JobTrigger.Builder addTriggers(JobTrigger.Trigger.Builder builderForValue)
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 | |
---|---|
Name | Description |
builderForValue |
JobTrigger.Trigger.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addTriggers(int index, JobTrigger.Trigger value)
public JobTrigger.Builder addTriggers(int index, JobTrigger.Trigger value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
JobTrigger.Trigger |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addTriggers(int index, JobTrigger.Trigger.Builder builderForValue)
public JobTrigger.Builder addTriggers(int index, JobTrigger.Trigger.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
JobTrigger.Trigger.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
addTriggersBuilder()
public JobTrigger.Trigger.Builder addTriggersBuilder()
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 | |
---|---|
Type | Description |
JobTrigger.Trigger.Builder |
addTriggersBuilder(int index)
public JobTrigger.Trigger.Builder addTriggersBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.Trigger.Builder |
build()
public JobTrigger build()
Returns | |
---|---|
Type | Description |
JobTrigger |
buildPartial()
public JobTrigger buildPartial()
Returns | |
---|---|
Type | Description |
JobTrigger |
clear()
public JobTrigger.Builder clear()
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearCreateTime()
public JobTrigger.Builder clearCreateTime()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearDescription()
public JobTrigger.Builder clearDescription()
User provided description (max 256 chars)
string description = 3;
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
clearDisplayName()
public JobTrigger.Builder clearDisplayName()
Display name (max 100 chars)
string display_name = 2;
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
clearErrors()
public JobTrigger.Builder clearErrors()
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 | |
---|---|
Type | Description |
JobTrigger.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearInspectJob()
public JobTrigger.Builder clearInspectJob()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearJob()
public JobTrigger.Builder clearJob()
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearLastRunTime()
public JobTrigger.Builder clearLastRunTime()
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 | |
---|---|
Type | Description |
JobTrigger.Builder |
clearName()
public JobTrigger.Builder clearName()
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 | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clearStatus()
public JobTrigger.Builder clearStatus()
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
clearTriggers()
public JobTrigger.Builder clearTriggers()
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 | |
---|---|
Type | Description |
JobTrigger.Builder |
clearUpdateTime()
public JobTrigger.Builder clearUpdateTime()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
clone()
public JobTrigger.Builder clone()
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
getCreateTime()
public Timestamp getCreateTime()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public JobTrigger getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
JobTrigger |
getDescription()
public String getDescription()
User provided description (max 256 chars)
string description = 3;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
User provided description (max 256 chars)
string description = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Display name (max 100 chars)
string display_name = 2;
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name (max 100 chars)
string display_name = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getErrors(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error |
getErrorsBuilder(int index)
public Error.Builder getErrorsBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Error.Builder |
getErrorsBuilderList()
public List<Error.Builder> getErrorsBuilderList()
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 | |
---|---|
Type | Description |
List<Builder> |
getErrorsCount()
public 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 | |
---|---|
Type | Description |
int |
getErrorsList()
public 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 | |
---|---|
Type | Description |
List<Error> |
getErrorsOrBuilder(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ErrorOrBuilder |
getErrorsOrBuilderList()
public 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 | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.ErrorOrBuilder> |
getInspectJob()
public InspectJobConfig getInspectJob()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Returns | |
---|---|
Type | Description |
InspectJobConfig |
The inspectJob. |
getInspectJobBuilder()
public InspectJobConfig.Builder getInspectJobBuilder()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Returns | |
---|---|
Type | Description |
InspectJobConfig.Builder |
getInspectJobOrBuilder()
public InspectJobConfigOrBuilder getInspectJobOrBuilder()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Returns | |
---|---|
Type | Description |
InspectJobConfigOrBuilder |
getJobCase()
public JobTrigger.JobCase getJobCase()
Returns | |
---|---|
Type | Description |
JobTrigger.JobCase |
getLastRunTime()
public 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 | |
---|---|
Type | Description |
Timestamp |
The lastRunTime. |
getLastRunTimeBuilder()
public Timestamp.Builder getLastRunTimeBuilder()
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 | |
---|---|
Type | Description |
Builder |
getLastRunTimeOrBuilder()
public 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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public 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 | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStatus()
public JobTrigger.Status getStatus()
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
JobTrigger.Status |
The status. |
getStatusValue()
public int getStatusValue()
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for status. |
getTriggers(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.Trigger |
getTriggersBuilder(int index)
public JobTrigger.Trigger.Builder getTriggersBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.Trigger.Builder |
getTriggersBuilderList()
public List<JobTrigger.Trigger.Builder> getTriggersBuilderList()
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 | |
---|---|
Type | Description |
List<Builder> |
getTriggersCount()
public 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 | |
---|---|
Type | Description |
int |
getTriggersList()
public 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 | |
---|---|
Type | Description |
List<Trigger> |
getTriggersOrBuilder(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.TriggerOrBuilder |
getTriggersOrBuilderList()
public 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 | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.JobTrigger.TriggerOrBuilder> |
getUpdateTime()
public Timestamp getUpdateTime()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
hasInspectJob()
public boolean hasInspectJob()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inspectJob field is set. |
hasLastRunTime()
public 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 | |
---|---|
Type | Description |
boolean |
Whether the lastRunTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public JobTrigger.Builder mergeCreateTime(Timestamp value)
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeFrom(JobTrigger other)
public JobTrigger.Builder mergeFrom(JobTrigger other)
Parameter | |
---|---|
Name | Description |
other |
JobTrigger |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public JobTrigger.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeInspectJob(InspectJobConfig value)
public JobTrigger.Builder mergeInspectJob(InspectJobConfig value)
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Parameter | |
---|---|
Name | Description |
value |
InspectJobConfig |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeLastRunTime(Timestamp value)
public JobTrigger.Builder mergeLastRunTime(Timestamp value)
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
mergeUpdateTime(Timestamp value)
public JobTrigger.Builder mergeUpdateTime(Timestamp value)
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
removeErrors(int index)
public JobTrigger.Builder removeErrors(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
removeTriggers(int index)
public JobTrigger.Builder removeTriggers(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setCreateTime(Timestamp value)
public JobTrigger.Builder setCreateTime(Timestamp value)
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public JobTrigger.Builder setCreateTime(Timestamp.Builder builderForValue)
Output only. The creation timestamp of a triggeredJob.
.google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setDescription(String value)
public JobTrigger.Builder setDescription(String value)
User provided description (max 256 chars)
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public JobTrigger.Builder setDescriptionBytes(ByteString value)
User provided description (max 256 chars)
string description = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setDisplayName(String value)
public JobTrigger.Builder setDisplayName(String value)
Display name (max 100 chars)
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public JobTrigger.Builder setDisplayNameBytes(ByteString value)
Display name (max 100 chars)
string display_name = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setErrors(int index, Error value)
public JobTrigger.Builder setErrors(int index, Error value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Error |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setErrors(int index, Error.Builder builderForValue)
public JobTrigger.Builder setErrors(int index, Error.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Error.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setInspectJob(InspectJobConfig value)
public JobTrigger.Builder setInspectJob(InspectJobConfig value)
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Parameter | |
---|---|
Name | Description |
value |
InspectJobConfig |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setInspectJob(InspectJobConfig.Builder builderForValue)
public JobTrigger.Builder setInspectJob(InspectJobConfig.Builder builderForValue)
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
InspectJobConfig.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setLastRunTime(Timestamp value)
public JobTrigger.Builder setLastRunTime(Timestamp value)
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setLastRunTime(Timestamp.Builder builderForValue)
public JobTrigger.Builder setLastRunTime(Timestamp.Builder builderForValue)
Output only. The timestamp of the last time this trigger executed.
.google.protobuf.Timestamp last_run_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setName(String value)
public JobTrigger.Builder setName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public JobTrigger.Builder setNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setStatus(JobTrigger.Status value)
public JobTrigger.Builder setStatus(JobTrigger.Status value)
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
JobTrigger.Status The status to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setStatusValue(int value)
public JobTrigger.Builder setStatusValue(int value)
Required. A status for this trigger.
.google.privacy.dlp.v2.JobTrigger.Status status = 10 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
This builder for chaining. |
setTriggers(int index, JobTrigger.Trigger value)
public JobTrigger.Builder setTriggers(int index, JobTrigger.Trigger value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
JobTrigger.Trigger |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setTriggers(int index, JobTrigger.Trigger.Builder builderForValue)
public JobTrigger.Builder setTriggers(int index, JobTrigger.Trigger.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
JobTrigger.Trigger.Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setUpdateTime(Timestamp value)
public JobTrigger.Builder setUpdateTime(Timestamp value)
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public JobTrigger.Builder setUpdateTime(Timestamp.Builder builderForValue)
Output only. The last update timestamp of a triggeredJob.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
JobTrigger.Builder |