public static final class ScanConfig.Schedule.Builder extends GeneratedMessageV3.Builder<ScanConfig.Schedule.Builder> implements ScanConfig.ScheduleOrBuilder
Scan schedule configuration.
Protobuf type google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ScanConfig.Schedule build()
Returns
buildPartial()
public ScanConfig.Schedule buildPartial()
Returns
clear()
public ScanConfig.Schedule.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ScanConfig.Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntervalDurationDays()
public ScanConfig.Schedule.Builder clearIntervalDurationDays()
Required. The duration of time between executions in days.
int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ScanConfig.Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScheduleTime()
public ScanConfig.Schedule.Builder clearScheduleTime()
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
clone()
public ScanConfig.Schedule.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ScanConfig.Schedule getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
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
getScheduleTimeBuilder()
public Timestamp.Builder getScheduleTimeBuilder()
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
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ScanConfig.Schedule other)
public ScanConfig.Schedule.Builder mergeFrom(ScanConfig.Schedule other)
Parameter
Returns
public ScanConfig.Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ScanConfig.Schedule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeScheduleTime(Timestamp value)
public ScanConfig.Schedule.Builder mergeScheduleTime(Timestamp value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIntervalDurationDays(int value)
public ScanConfig.Schedule.Builder setIntervalDurationDays(int value)
Required. The duration of time between executions in days.
int32 interval_duration_days = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | int
The intervalDurationDays to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScanConfig.Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setScheduleTime(Timestamp value)
public ScanConfig.Schedule.Builder setScheduleTime(Timestamp value)
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;
Parameter
Returns
setScheduleTime(Timestamp.Builder builderForValue)
public ScanConfig.Schedule.Builder setScheduleTime(Timestamp.Builder builderForValue)
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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides