Class JobTrigger.Trigger.Builder (3.59.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobTrigger.Trigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides

build()

public JobTrigger.Trigger build()
Returns
Type Description
JobTrigger.Trigger

buildPartial()

public JobTrigger.Trigger buildPartial()
Returns
Type Description
JobTrigger.Trigger

clear()

public JobTrigger.Trigger.Builder clear()
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public JobTrigger.Trigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
JobTrigger.Trigger.Builder
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
Type Description
JobTrigger.Trigger.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public JobTrigger.Trigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
JobTrigger.Trigger.Builder
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
Type Description
JobTrigger.Trigger.Builder

clearTrigger()

public JobTrigger.Trigger.Builder clearTrigger()
Returns
Type Description
JobTrigger.Trigger.Builder

clone()

public JobTrigger.Trigger.Builder clone()
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides

getDefaultInstanceForType()

public JobTrigger.Trigger getDefaultInstanceForType()
Returns
Type Description
JobTrigger.Trigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
Manual.Builder

getManualOrBuilder()

public ManualOrBuilder getManualOrBuilder()

For use with hybrid jobs. Jobs must be manually created and finished.

.google.privacy.dlp.v2.Manual manual = 2;

Returns
Type Description
ManualOrBuilder

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
Type Description
Schedule

The schedule.

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
Type Description
Schedule.Builder

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
Type Description
ScheduleOrBuilder

getTriggerCase()

public JobTrigger.Trigger.TriggerCase getTriggerCase()
Returns
Type Description
JobTrigger.Trigger.TriggerCase

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(JobTrigger.Trigger other)

public JobTrigger.Trigger.Builder mergeFrom(JobTrigger.Trigger other)
Parameter
Name Description
other JobTrigger.Trigger
Returns
Type Description
JobTrigger.Trigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobTrigger.Trigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public JobTrigger.Trigger.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
JobTrigger.Trigger.Builder
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
Name Description
value Manual
Returns
Type Description
JobTrigger.Trigger.Builder

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
Name Description
value Schedule
Returns
Type Description
JobTrigger.Trigger.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobTrigger.Trigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public JobTrigger.Trigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
JobTrigger.Trigger.Builder
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
Name Description
value Manual
Returns
Type Description
JobTrigger.Trigger.Builder

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
Name Description
builderForValue Manual.Builder
Returns
Type Description
JobTrigger.Trigger.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public JobTrigger.Trigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
JobTrigger.Trigger.Builder
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
Name Description
value Schedule
Returns
Type Description
JobTrigger.Trigger.Builder

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
Name Description
builderForValue Schedule.Builder
Returns
Type Description
JobTrigger.Trigger.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final JobTrigger.Trigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
JobTrigger.Trigger.Builder
Overrides