public static final class ScanConfig.Schedule.Builder extends GeneratedMessageV3.Builder<ScanConfig.Schedule.Builder> implements ScanConfig.ScheduleOrBuilder
Scan schedule configuration.
Protobuf type google.cloud.websecurityscanner.v1.ScanConfig.Schedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Schedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScanConfig.Schedule build()
buildPartial()
public ScanConfig.Schedule buildPartial()
clear()
public ScanConfig.Schedule.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ScanConfig.Schedule.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntervalDurationDays()
public ScanConfig.Schedule.Builder clearIntervalDurationDays()
Required. The duration of time between executions in days.
int32 interval_duration_days = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ScanConfig.Schedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public ScanConfig.Schedule.Builder clone()
Overrides
getDefaultInstanceForType()
public ScanConfig.Schedule getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getIntervalDurationDays()
public int getIntervalDurationDays()
Required. The duration of time between executions in days.
int32 interval_duration_days = 2;
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 |
---|
Type | Description |
Timestamp | The scheduleTime.
|
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ScanConfig.Schedule other)
public ScanConfig.Schedule.Builder mergeFrom(ScanConfig.Schedule other)
public ScanConfig.Schedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScanConfig.Schedule.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Schedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ScanConfig.Schedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
Parameter |
---|
Name | Description |
value | int
The intervalDurationDays to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScanConfig.Schedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ScanConfig.Schedule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides