Class WindowsScheduledTask (0.3.0)

public final class WindowsScheduledTask extends GeneratedMessage implements WindowsScheduledTaskOrBuilder

Information about a Windows scheduled task.

Protobuf type google.backstory.WindowsScheduledTask

Static Fields

AUTHOR_FIELD_NUMBER

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

EXIT_CODE_FIELD_NUMBER

public static final int EXIT_CODE_FIELD_NUMBER
Field Value
Type Description
int

LOGON_TYPE_FIELD_NUMBER

public static final int LOGON_TYPE_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TASK_ACTIONS_FIELD_NUMBER

public static final int TASK_ACTIONS_FIELD_NUMBER
Field Value
Type Description
int

TASK_TRIGGERS_FIELD_NUMBER

public static final int TASK_TRIGGERS_FIELD_NUMBER
Field Value
Type Description
int

VIRTUAL_PATH_FIELD_NUMBER

public static final int VIRTUAL_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsScheduledTask getDefaultInstance()
Returns
Type Description
WindowsScheduledTask

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static WindowsScheduledTask.Builder newBuilder()
Returns
Type Description
WindowsScheduledTask.Builder

newBuilder(WindowsScheduledTask prototype)

public static WindowsScheduledTask.Builder newBuilder(WindowsScheduledTask prototype)
Parameter
Name Description
prototype WindowsScheduledTask
Returns
Type Description
WindowsScheduledTask.Builder

parseDelimitedFrom(InputStream input)

public static WindowsScheduledTask parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static WindowsScheduledTask parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static WindowsScheduledTask parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static WindowsScheduledTask parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static WindowsScheduledTask parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static WindowsScheduledTask parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static WindowsScheduledTask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
WindowsScheduledTask
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<WindowsScheduledTask> parser()
Returns
Type Description
Parser<WindowsScheduledTask>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAuthor()

public String getAuthor()

The account name that authored or last modified the scheduled task.

string author = 1;

Returns
Type Description
String

The author.

getAuthorBytes()

public ByteString getAuthorBytes()

The account name that authored or last modified the scheduled task.

string author = 1;

Returns
Type Description
ByteString

The bytes for author.

getDefaultInstanceForType()

public WindowsScheduledTask getDefaultInstanceForType()
Returns
Type Description
WindowsScheduledTask

getExitCode()

public int getExitCode()

The result which was returned the last time the registered task was run.

int32 exit_code = 3;

Returns
Type Description
int

The exitCode.

getLogonType()

public WindowsScheduledTask.TaskLogonType getLogonType()

The logon type of the task.

.google.backstory.WindowsScheduledTask.TaskLogonType logon_type = 5;

Returns
Type Description
WindowsScheduledTask.TaskLogonType

The logonType.

getLogonTypeValue()

public int getLogonTypeValue()

The logon type of the task.

.google.backstory.WindowsScheduledTask.TaskLogonType logon_type = 5;

Returns
Type Description
int

The enum numeric value on the wire for logonType.

getParserForType()

public Parser<WindowsScheduledTask> getParserForType()
Returns
Type Description
Parser<WindowsScheduledTask>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public WindowsScheduledTask.TaskState getState()

The operation state of the task.

.google.backstory.WindowsScheduledTask.TaskState state = 4;

Returns
Type Description
WindowsScheduledTask.TaskState

The state.

getStateValue()

public int getStateValue()

The operation state of the task.

.google.backstory.WindowsScheduledTask.TaskState state = 4;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTaskActions(int index)

public WindowsScheduledTask.TaskAction getTaskActions(int index)

The actions of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskAction task_actions = 6;

Parameter
Name Description
index int
Returns
Type Description
WindowsScheduledTask.TaskAction

getTaskActionsCount()

public int getTaskActionsCount()

The actions of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskAction task_actions = 6;

Returns
Type Description
int

getTaskActionsList()

public List<WindowsScheduledTask.TaskAction> getTaskActionsList()

The actions of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskAction task_actions = 6;

Returns
Type Description
List<TaskAction>

getTaskActionsOrBuilder(int index)

public WindowsScheduledTask.TaskActionOrBuilder getTaskActionsOrBuilder(int index)

The actions of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskAction task_actions = 6;

Parameter
Name Description
index int
Returns
Type Description
WindowsScheduledTask.TaskActionOrBuilder

getTaskActionsOrBuilderList()

public List<? extends WindowsScheduledTask.TaskActionOrBuilder> getTaskActionsOrBuilderList()

The actions of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskAction task_actions = 6;

Returns
Type Description
List<? extends com.google.backstory.WindowsScheduledTask.TaskActionOrBuilder>

getTaskTriggers(int index)

public WindowsScheduledTask.TaskTrigger getTaskTriggers(int index)

The triggers of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskTrigger task_triggers = 7;

Parameter
Name Description
index int
Returns
Type Description
WindowsScheduledTask.TaskTrigger

getTaskTriggersCount()

public int getTaskTriggersCount()

The triggers of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskTrigger task_triggers = 7;

Returns
Type Description
int

getTaskTriggersList()

public List<WindowsScheduledTask.TaskTrigger> getTaskTriggersList()

The triggers of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskTrigger task_triggers = 7;

Returns
Type Description
List<TaskTrigger>

getTaskTriggersOrBuilder(int index)

public WindowsScheduledTask.TaskTriggerOrBuilder getTaskTriggersOrBuilder(int index)

The triggers of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskTrigger task_triggers = 7;

Parameter
Name Description
index int
Returns
Type Description
WindowsScheduledTask.TaskTriggerOrBuilder

getTaskTriggersOrBuilderList()

public List<? extends WindowsScheduledTask.TaskTriggerOrBuilder> getTaskTriggersOrBuilderList()

The triggers of the scheduled task.

repeated .google.backstory.WindowsScheduledTask.TaskTrigger task_triggers = 7;

Returns
Type Description
List<? extends com.google.backstory.WindowsScheduledTask.TaskTriggerOrBuilder>

getVirtualPath()

public String getVirtualPath()

The task's path in the Task Scheduler library.

string virtual_path = 2;

Returns
Type Description
String

The virtualPath.

getVirtualPathBytes()

public ByteString getVirtualPathBytes()

The task's path in the Task Scheduler library.

string virtual_path = 2;

Returns
Type Description
ByteString

The bytes for virtualPath.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public WindowsScheduledTask.Builder newBuilderForType()
Returns
Type Description
WindowsScheduledTask.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected WindowsScheduledTask.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
WindowsScheduledTask.Builder
Overrides

toBuilder()

public WindowsScheduledTask.Builder toBuilder()
Returns
Type Description
WindowsScheduledTask.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException