Class Schedule.Builder (3.16.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Schedule build()
Returns
TypeDescription
Schedule

buildPartial()

public Schedule buildPartial()
Returns
TypeDescription
Schedule

clear()

public Schedule.Builder clear()
Returns
TypeDescription
Schedule.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Schedule.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Schedule.Builder
Overrides

clearOption()

public Schedule.Builder clearOption()
Returns
TypeDescription
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
TypeDescription
Schedule.Builder

clone()

public Schedule.Builder clone()
Returns
TypeDescription
Schedule.Builder
Overrides

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
TypeDescription
Schedule

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOptionCase()

public Schedule.OptionCase getOptionCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the recurrencePeriodDuration field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Schedule other)

public Schedule.Builder mergeFrom(Schedule other)
Parameter
NameDescription
otherSchedule
Returns
TypeDescription
Schedule.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Schedule.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
Schedule.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
Schedule.Builder

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

public Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Schedule.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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