public static final class ScanConfig.Schedule extends GeneratedMessageV3 implements ScanConfig.ScheduleOrBuilder
Scan schedule configuration.
Protobuf type google.cloud.websecurityscanner.v1alpha.ScanConfig.Schedule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
INTERVAL_DURATION_DAYS_FIELD_NUMBER
public static final int INTERVAL_DURATION_DAYS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCHEDULE_TIME_FIELD_NUMBER
public static final int SCHEDULE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ScanConfig.Schedule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ScanConfig.Schedule.Builder newBuilder()
newBuilder(ScanConfig.Schedule prototype)
public static ScanConfig.Schedule.Builder newBuilder(ScanConfig.Schedule prototype)
public static ScanConfig.Schedule parseDelimitedFrom(InputStream input)
public static ScanConfig.Schedule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ScanConfig.Schedule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ScanConfig.Schedule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(CodedInputStream input)
public static ScanConfig.Schedule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(InputStream input)
public static ScanConfig.Schedule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ScanConfig.Schedule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScanConfig.Schedule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ScanConfig.Schedule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ScanConfig.Schedule getDefaultInstanceForType()
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()
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 |
Type |
Description |
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
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 |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ScanConfig.Schedule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScanConfig.Schedule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ScanConfig.Schedule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides