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
SCHEDULE_TIME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ScanConfig.Schedule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ScanConfig.Schedule.Builder newBuilder()
Returns
newBuilder(ScanConfig.Schedule prototype)
public static ScanConfig.Schedule.Builder newBuilder(ScanConfig.Schedule prototype)
Parameter
Returns
public static ScanConfig.Schedule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScanConfig.Schedule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScanConfig.Schedule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanConfig.Schedule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScanConfig.Schedule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScanConfig.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScanConfig.Schedule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScanConfig.Schedule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ScanConfig.Schedule getDefaultInstanceForType()
Returns
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
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
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ScanConfig.Schedule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanConfig.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ScanConfig.Schedule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions