Interface WindowsScheduledTask.TaskTriggerOrBuilder (0.3.0)

public static interface WindowsScheduledTask.TaskTriggerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDuration()

public abstract Duration getDuration()

The duration of the task trigger repetition.

.google.protobuf.Duration duration = 2;

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

The duration of the task trigger repetition.

.google.protobuf.Duration duration = 2;

Returns
Type Description
DurationOrBuilder

getEnabled()

public abstract boolean getEnabled()

Indicates whether the task trigger is enabled.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getInterval()

public abstract String getInterval()

The interval between each repetition of the task. The format for this string is P<days>DT<hours>H<minutes>M<seconds>S (for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.

string interval = 3;

Returns
Type Description
String

The interval.

getIntervalBytes()

public abstract ByteString getIntervalBytes()

The interval between each repetition of the task. The format for this string is P<days>DT<hours>H<minutes>M<seconds>S (for example, "PT5M" is 5 minutes, "PT1H" is 1 hour, and "PT20M" is 20 minutes). The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.

string interval = 3;

Returns
Type Description
ByteString

The bytes for interval.

getTriggerType()

public abstract WindowsScheduledTask.TaskTrigger.TriggerType getTriggerType()

The trigger frequency of the task.

.google.backstory.WindowsScheduledTask.TaskTrigger.TriggerType trigger_type = 4;

Returns
Type Description
WindowsScheduledTask.TaskTrigger.TriggerType

The triggerType.

getTriggerTypeValue()

public abstract int getTriggerTypeValue()

The trigger frequency of the task.

.google.backstory.WindowsScheduledTask.TaskTrigger.TriggerType trigger_type = 4;

Returns
Type Description
int

The enum numeric value on the wire for triggerType.

hasDuration()

public abstract boolean hasDuration()

The duration of the task trigger repetition.

.google.protobuf.Duration duration = 2;

Returns
Type Description
boolean

Whether the duration field is set.