Class ScanConfig.Schedule (2.53.0)

public static final class ScanConfig.Schedule extends GeneratedMessageV3 implements ScanConfig.ScheduleOrBuilder

Scan schedule configuration.

Protobuf type google.cloud.websecurityscanner.v1beta.ScanConfig.Schedule

Static Fields

INTERVAL_DURATION_DAYS_FIELD_NUMBER

public static final int INTERVAL_DURATION_DAYS_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULE_TIME_FIELD_NUMBER

public static final int SCHEDULE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScanConfig.Schedule getDefaultInstance()
Returns
Type Description
ScanConfig.Schedule

getDescriptor()

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

newBuilder()

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

newBuilder(ScanConfig.Schedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ScanConfig.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 ScanConfig.Schedule getDefaultInstanceForType()
Returns
Type Description
ScanConfig.Schedule

getIntervalDurationDays()

public int getIntervalDurationDays()

Required. The duration of time between executions in days.

int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The intervalDurationDays.

getParserForType()

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

getScheduleTime()

public Timestamp getScheduleTime()

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
Timestamp

The scheduleTime.

getScheduleTimeOrBuilder()

public TimestampOrBuilder getScheduleTimeOrBuilder()

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
TimestampOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasScheduleTime()

public boolean hasScheduleTime()

A timestamp indicates when the next run will be scheduled. The value is refreshed by the server after each run. If unspecified, it will default to current server time, which means the scan will be scheduled to start immediately.

.google.protobuf.Timestamp schedule_time = 1;

Returns
Type Description
boolean

Whether the scheduleTime 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 ScanConfig.Schedule.Builder newBuilderForType()
Returns
Type Description
ScanConfig.Schedule.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ScanConfig.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ScanConfig.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 ScanConfig.Schedule.Builder toBuilder()
Returns
Type Description
ScanConfig.Schedule.Builder

writeTo(CodedOutputStream output)

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