Class Schedule (3.52.0)

public final class Schedule extends GeneratedMessageV3 implements ScheduleOrBuilder

Schedule for inspect job triggers.

Protobuf type google.privacy.dlp.v2.Schedule

Implements

ScheduleOrBuilder

Static Fields

RECURRENCE_PERIOD_DURATION_FIELD_NUMBER

public static final int RECURRENCE_PERIOD_DURATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Schedule getDefaultInstance()
Returns
Type Description
Schedule

getDescriptor()

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

newBuilder()

public static Schedule.Builder newBuilder()
Returns
Type Description
Schedule.Builder

newBuilder(Schedule prototype)

public static Schedule.Builder newBuilder(Schedule prototype)
Parameter
Name Description
prototype Schedule
Returns
Type Description
Schedule.Builder

parseDelimitedFrom(InputStream input)

public static Schedule parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Schedule parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Schedule parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Schedule parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Schedule parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Schedule parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Schedule
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Schedule> parser()
Returns
Type Description
Parser<Schedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
Type Description
Schedule

getOptionCase()

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

getParserForType()

public Parser<Schedule> getParserForType()
Returns
Type Description
Parser<Schedule>
Overrides

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Schedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException