public static final class JobTrigger.Trigger.Builder extends GeneratedMessageV3.Builder<JobTrigger.Trigger.Builder> implements JobTrigger.TriggerOrBuilder
What event needs to occur for a new job to be started.
Protobuf type google.privacy.dlp.v2.JobTrigger.Trigger
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Trigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public JobTrigger.Trigger build()
Returns
buildPartial()
public JobTrigger.Trigger buildPartial()
Returns
clear()
public JobTrigger.Trigger.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public JobTrigger.Trigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearManual()
public JobTrigger.Trigger.Builder clearManual()
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public JobTrigger.Trigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSchedule()
public JobTrigger.Trigger.Builder clearSchedule()
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Returns
clearTrigger()
public JobTrigger.Trigger.Builder clearTrigger()
Returns
clone()
public JobTrigger.Trigger.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public JobTrigger.Trigger getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getManual()
public Manual getManual()
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Returns
Type | Description |
Manual | The manual.
|
getManualBuilder()
public Manual.Builder getManualBuilder()
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Returns
getManualOrBuilder()
public ManualOrBuilder getManualOrBuilder()
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Returns
getSchedule()
public Schedule getSchedule()
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Returns
getScheduleBuilder()
public Schedule.Builder getScheduleBuilder()
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Returns
getScheduleOrBuilder()
public ScheduleOrBuilder getScheduleOrBuilder()
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Returns
getTriggerCase()
public JobTrigger.Trigger.TriggerCase getTriggerCase()
Returns
hasManual()
public boolean hasManual()
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Returns
Type | Description |
boolean | Whether the manual field is set.
|
hasSchedule()
public boolean hasSchedule()
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Returns
Type | Description |
boolean | Whether the schedule field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(JobTrigger.Trigger other)
public JobTrigger.Trigger.Builder mergeFrom(JobTrigger.Trigger other)
Parameter
Returns
public JobTrigger.Trigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public JobTrigger.Trigger.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeManual(Manual value)
public JobTrigger.Trigger.Builder mergeManual(Manual value)
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Parameter
Returns
mergeSchedule(Schedule value)
public JobTrigger.Trigger.Builder mergeSchedule(Schedule value)
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Trigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public JobTrigger.Trigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setManual(Manual value)
public JobTrigger.Trigger.Builder setManual(Manual value)
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Parameter
Returns
setManual(Manual.Builder builderForValue)
public JobTrigger.Trigger.Builder setManual(Manual.Builder builderForValue)
For use with hybrid jobs. Jobs must be manually created and finished.
.google.privacy.dlp.v2.Manual manual = 2;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobTrigger.Trigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSchedule(Schedule value)
public JobTrigger.Trigger.Builder setSchedule(Schedule value)
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Parameter
Returns
setSchedule(Schedule.Builder builderForValue)
public JobTrigger.Trigger.Builder setSchedule(Schedule.Builder builderForValue)
Create a job on a repeating basis based on the elapse of time.
.google.privacy.dlp.v2.Schedule schedule = 1;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final JobTrigger.Trigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides