Class ScanConfig.Schedule (2.18.0)

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

Scan schedule configuration.

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

Static Fields

INTERVAL_DURATION_DAYS_FIELD_NUMBER

public static final int INTERVAL_DURATION_DAYS_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEDULE_TIME_FIELD_NUMBER

public static final int SCHEDULE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ScanConfig.Schedule getDefaultInstance()
Returns
TypeDescription
ScanConfig.Schedule

getDescriptor()

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

newBuilder()

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

newBuilder(ScanConfig.Schedule prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ScanConfig.Schedule getDefaultInstanceForType()
Returns
TypeDescription
ScanConfig.Schedule

getIntervalDurationDays()

public int getIntervalDurationDays()

Required. The duration of time between executions in days.

int32 interval_duration_days = 2;

Returns
TypeDescription
int

The intervalDurationDays.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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