Class Schedule (3.44.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Schedule getDefaultInstance()
Returns
TypeDescription
Schedule

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Schedule.Builder newBuilder()
Returns
TypeDescription
Schedule.Builder

newBuilder(Schedule prototype)

public static Schedule.Builder newBuilder(Schedule prototype)
Parameter
NameDescription
prototypeSchedule
Returns
TypeDescription
Schedule.Builder

parseDelimitedFrom(InputStream input)

public static Schedule parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Schedule parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Schedule parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Schedule parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Schedule parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Schedule parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Schedule
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Schedule> parser()
Returns
TypeDescription
Parser<Schedule>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Schedule getDefaultInstanceForType()
Returns
TypeDescription
Schedule

getOptionCase()

public Schedule.OptionCase getOptionCase()
Returns
TypeDescription
Schedule.OptionCase

getParserForType()

public Parser<Schedule> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the recurrencePeriodDuration field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Schedule.Builder newBuilderForType()
Returns
TypeDescription
Schedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Schedule.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Schedule.Builder toBuilder()
Returns
TypeDescription
Schedule.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException