Class JobTrigger.Trigger.Builder (3.6.3)

See more code actions.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public JobTrigger.Trigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public JobTrigger.Trigger build()
Returns
TypeDescription
JobTrigger.Trigger

buildPartial()

public JobTrigger.Trigger buildPartial()
Returns
TypeDescription
JobTrigger.Trigger

clear()

public JobTrigger.Trigger.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public JobTrigger.Trigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
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
NameDescription
oneofOneofDescriptor
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
TypeDescription
JobTrigger.Trigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ScheduleOrBuilder

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

Whether the schedule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(JobTrigger.Trigger other)

public JobTrigger.Trigger.Builder mergeFrom(JobTrigger.Trigger other)
Parameter
NameDescription
otherJobTrigger.Trigger
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public JobTrigger.Trigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public JobTrigger.Trigger.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
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
NameDescription
valueManual
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
NameDescription
valueSchedule
Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

public final JobTrigger.Trigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public JobTrigger.Trigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
valueManual
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
NameDescription
builderForValueManual.Builder
Returns

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

public JobTrigger.Trigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
valueSchedule
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
NameDescription
builderForValueSchedule.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final JobTrigger.Trigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides