Class Schedule.Builder (3.47.0)

public static final class Schedule.Builder extends GeneratedMessageV3.Builder<Schedule.Builder> implements ScheduleOrBuilder

Schedule for inspect job triggers.

Protobuf type google.privacy.dlp.v2.Schedule

Implements

ScheduleOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Schedule build()
Returns
Type Description
Schedule

buildPartial()

public Schedule buildPartial()
Returns
Type Description
Schedule

clear()

public Schedule.Builder clear()
Returns
Type Description
Schedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Schedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Schedule.Builder
Overrides

clearOption()

public Schedule.Builder clearOption()
Returns
Type Description
Schedule.Builder

clearRecurrencePeriodDuration()

public Schedule.Builder clearRecurrencePeriodDuration()

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Returns
Type Description
Schedule.Builder

clone()

public Schedule.Builder clone()
Returns
Type Description
Schedule.Builder
Overrides

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
Type Description
Schedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOptionCase()

public Schedule.OptionCase getOptionCase()
Returns
Type Description
Schedule.OptionCase

getRecurrencePeriodDuration()

public Duration getRecurrencePeriodDuration()

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Returns
Type Description
Duration

The recurrencePeriodDuration.

getRecurrencePeriodDurationBuilder()

public Duration.Builder getRecurrencePeriodDurationBuilder()

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Returns
Type Description
Builder

getRecurrencePeriodDurationOrBuilder()

public DurationOrBuilder getRecurrencePeriodDurationOrBuilder()

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Returns
Type Description
DurationOrBuilder

hasRecurrencePeriodDuration()

public boolean hasRecurrencePeriodDuration()

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Returns
Type Description
boolean

Whether the recurrencePeriodDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Schedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Schedule.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Schedule.Builder
Overrides

mergeRecurrencePeriodDuration(Duration value)

public Schedule.Builder mergeRecurrencePeriodDuration(Duration value)

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
Schedule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Schedule.Builder
Overrides

setRecurrencePeriodDuration(Duration value)

public Schedule.Builder setRecurrencePeriodDuration(Duration value)

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Parameter
Name Description
value Duration
Returns
Type Description
Schedule.Builder

setRecurrencePeriodDuration(Duration.Builder builderForValue)

public Schedule.Builder setRecurrencePeriodDuration(Duration.Builder builderForValue)

With this option a job is started on a regular periodic basis. For example: every day (86400 seconds).

A scheduled start time will be skipped if the previous execution has not ended when its scheduled time occurs.

This value must be set to a time duration greater than or equal to 1 day and can be no longer than 60 days.

.google.protobuf.Duration recurrence_period_duration = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Schedule.Builder

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

public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Schedule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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