- 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 dlp api calls on a repeating basis. See https://cloud.google.com/dlp/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()
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];
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.Error> |
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;
Name | Description |
values | Iterable<? extends com.google.privacy.dlp.v2.JobTrigger.Trigger> |
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];
Name | Description |
value | Error |
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];
Name | Description |
builderForValue | Error.Builder |
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];
Name | Description |
index | int |
value | Error |
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];
Name | Description |
index | int |
builderForValue | Error.Builder |
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];
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];
Name | Description |
index | int |
Type | Description |
Error.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | JobTrigger.Trigger |
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;
Name | Description |
builderForValue | JobTrigger.Trigger.Builder |
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;
Name | Description |
index | int |
value | JobTrigger.Trigger |
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;
Name | Description |
index | int |
builderForValue | JobTrigger.Trigger.Builder |
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;
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;
Name | Description |
index | int |
Type | Description |
JobTrigger.Trigger.Builder |
build()
public JobTrigger build()
Type | Description |
JobTrigger |
buildPartial()
public JobTrigger buildPartial()
Type | Description |
JobTrigger |
clear()
public JobTrigger.Builder clear()
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];
Type | Description |
JobTrigger.Builder |
clearDescription()
public JobTrigger.Builder clearDescription()
User provided description (max 256 chars)
string description = 3;
Type | Description |
JobTrigger.Builder | This builder for chaining. |
clearDisplayName()
public JobTrigger.Builder clearDisplayName()
Display name (max 100 chars)
string display_name = 2;
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];
Type | Description |
JobTrigger.Builder |
clearField(Descriptors.FieldDescriptor field)
public JobTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
JobTrigger.Builder |
clearJob()
public JobTrigger.Builder clearJob()
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];
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;
Type | Description |
JobTrigger.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public JobTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
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;
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];
Type | Description |
JobTrigger.Builder |
clone()
public JobTrigger.Builder clone()
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];
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];
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];
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public JobTrigger getDefaultInstanceForType()
Type | Description |
JobTrigger |
getDescription()
public String getDescription()
User provided description (max 256 chars)
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
User provided description (max 256 chars)
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Display name (max 100 chars)
string display_name = 2;
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name (max 100 chars)
string display_name = 2;
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];
Name | Description |
index | int |
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];
Name | Description |
index | int |
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];
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];
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];
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];
Name | Description |
index | int |
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];
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;
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;
Type | Description |
InspectJobConfig.Builder |
getInspectJobOrBuilder()
public InspectJobConfigOrBuilder getInspectJobOrBuilder()
For inspect jobs, a snapshot of the configuration.
.google.privacy.dlp.v2.InspectJobConfig inspect_job = 4;
Type | Description |
InspectJobConfigOrBuilder |
getJobCase()
public JobTrigger.JobCase getJobCase()
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];
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];
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];
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;
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;
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];
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];
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;
Name | Description |
index | int |
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;
Name | Description |
index | int |
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;
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;
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;
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;
Name | Description |
index | int |
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;
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];
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];
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];
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];
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;
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];
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];
Type | Description |
boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
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];
Name | Description |
value | Timestamp |
Type | Description |
JobTrigger.Builder |
mergeFrom(JobTrigger other)
public JobTrigger.Builder mergeFrom(JobTrigger other)
Name | Description |
other | JobTrigger |
Type | Description |
JobTrigger.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
JobTrigger.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public JobTrigger.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | InspectJobConfig |
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];
Name | Description |
value | Timestamp |
Type | Description |
JobTrigger.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
index | int |
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;
Name | Description |
index | int |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
JobTrigger.Builder |
setDescription(String value)
public JobTrigger.Builder setDescription(String value)
User provided description (max 256 chars)
string description = 3;
Name | Description |
value | String The description to set. |
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;
Name | Description |
value | ByteString The bytes for description to set. |
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;
Name | Description |
value | String The displayName to set. |
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;
Name | Description |
value | ByteString The bytes for displayName to set. |
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];
Name | Description |
index | int |
value | Error |
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];
Name | Description |
index | int |
builderForValue | Error.Builder |
Type | Description |
JobTrigger.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | InspectJobConfig |
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;
Name | Description |
builderForValue | InspectJobConfig.Builder |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | String The name to set. |
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;
Name | Description |
value | ByteString The bytes for name to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | JobTrigger.Status The status to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for status to set. |
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;
Name | Description |
index | int |
value | JobTrigger.Trigger |
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;
Name | Description |
index | int |
builderForValue | JobTrigger.Trigger.Builder |
Type | Description |
JobTrigger.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Timestamp |
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];
Name | Description |
builderForValue | Builder |
Type | Description |
JobTrigger.Builder |