Class Schedule.Builder (3.87.0)

public static final class Schedule.Builder extends GeneratedMessage.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

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

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

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 GeneratedMessage.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

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