Interface ScanConfig.ScheduleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScanConfig.Schedule,ScanConfig.Schedule.Builder
- Enclosing class:
- ScanConfig
public static interface ScanConfig.ScheduleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintRequired.com.google.protobuf.TimestampA timestamp indicates when the next run will be scheduled.com.google.protobuf.TimestampOrBuilderA timestamp indicates when the next run will be scheduled.booleanA timestamp indicates when the next run will be scheduled.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasScheduleTime
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:
- Whether the scheduleTime field is set.
-
getScheduleTime
com.google.protobuf.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:
- The scheduleTime.
-
getScheduleTimeOrBuilder
com.google.protobuf.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; -
getIntervalDurationDays
int getIntervalDurationDays()Required. The duration of time between executions in days.
int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The intervalDurationDays.
-