Class JobTrigger.Trigger.Builder (3.6.7)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
JobTrigger.Trigger.Builder
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
TypeDescription
JobTrigger.Trigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public JobTrigger.Trigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
JobTrigger.Trigger.Builder

clearTrigger()

public JobTrigger.Trigger.Builder clearTrigger()
Returns
TypeDescription
JobTrigger.Trigger.Builder

clone()

public JobTrigger.Trigger.Builder clone()
Returns
TypeDescription
JobTrigger.Trigger.Builder
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
TypeDescription
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
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
TypeDescription
JobTrigger.Trigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
TypeDescription
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
NameDescription
valueSchedule
Returns
TypeDescription
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
NameDescription
builderForValueSchedule.Builder
Returns
TypeDescription
JobTrigger.Trigger.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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