Class WindowsScheduledTask.TaskAction (0.3.0)

public static final class WindowsScheduledTask.TaskAction extends GeneratedMessage implements WindowsScheduledTask.TaskActionOrBuilder

The task action.

Protobuf type google.backstory.WindowsScheduledTask.TaskAction

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WindowsScheduledTask.TaskAction

Static Fields

ACTION_TYPE_FIELD_NUMBER

public static final int ACTION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

COM_CLASS_ID_FIELD_NUMBER

public static final int COM_CLASS_ID_FIELD_NUMBER
Field Value
Type Description
int

COM_DATA_FIELD_NUMBER

public static final int COM_DATA_FIELD_NUMBER
Field Value
Type Description
int

EXEC_ARGUMENTS_FIELD_NUMBER

public static final int EXEC_ARGUMENTS_FIELD_NUMBER
Field Value
Type Description
int

EXEC_WORKING_DIRECTORY_FIELD_NUMBER

public static final int EXEC_WORKING_DIRECTORY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static WindowsScheduledTask.TaskAction getDefaultInstance()
Returns
Type Description
WindowsScheduledTask.TaskAction

getDescriptor()

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

newBuilder()

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

newBuilder(WindowsScheduledTask.TaskAction prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActionType()

public WindowsScheduledTask.TaskAction.ActionType getActionType()

The action type of the task.

.google.backstory.WindowsScheduledTask.TaskAction.ActionType action_type = 1;

Returns
Type Description
WindowsScheduledTask.TaskAction.ActionType

The actionType.

getActionTypeValue()

public int getActionTypeValue()

The action type of the task.

.google.backstory.WindowsScheduledTask.TaskAction.ActionType action_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for actionType.

getComClassId()

public String getComClassId()

The COM class IF the action is COM handler. This field is only populated if the task action type is COM_HANDLER.

string com_class_id = 4;

Returns
Type Description
String

The comClassId.

getComClassIdBytes()

public ByteString getComClassIdBytes()

The COM class IF the action is COM handler. This field is only populated if the task action type is COM_HANDLER.

string com_class_id = 4;

Returns
Type Description
ByteString

The bytes for comClassId.

getComData()

public String getComData()

The data of the task. This field is only populated if the task action type is COM_HANDLER.

string com_data = 5;

Returns
Type Description
String

The comData.

getComDataBytes()

public ByteString getComDataBytes()

The data of the task. This field is only populated if the task action type is COM_HANDLER.

string com_data = 5;

Returns
Type Description
ByteString

The bytes for comData.

getDefaultInstanceForType()

public WindowsScheduledTask.TaskAction getDefaultInstanceForType()
Returns
Type Description
WindowsScheduledTask.TaskAction

getExecArguments(int index)

public String getExecArguments(int index)

The arguments of the task. This field is only populated if the task action type is EXEC.

repeated string exec_arguments = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The execArguments at the given index.

getExecArgumentsBytes(int index)

public ByteString getExecArgumentsBytes(int index)

The arguments of the task. This field is only populated if the task action type is EXEC.

repeated string exec_arguments = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the execArguments at the given index.

getExecArgumentsCount()

public int getExecArgumentsCount()

The arguments of the task. This field is only populated if the task action type is EXEC.

repeated string exec_arguments = 2;

Returns
Type Description
int

The count of execArguments.

getExecArgumentsList()

public ProtocolStringList getExecArgumentsList()

The arguments of the task. This field is only populated if the task action type is EXEC.

repeated string exec_arguments = 2;

Returns
Type Description
ProtocolStringList

A list containing the execArguments.

getExecWorkingDirectory()

public String getExecWorkingDirectory()

The executable working directory of the task. This field is only populated if the task action type is EXEC.

string exec_working_directory = 3;

Returns
Type Description
String

The execWorkingDirectory.

getExecWorkingDirectoryBytes()

public ByteString getExecWorkingDirectoryBytes()

The executable working directory of the task. This field is only populated if the task action type is EXEC.

string exec_working_directory = 3;

Returns
Type Description
ByteString

The bytes for execWorkingDirectory.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.TaskAction.Builder newBuilderForType()
Returns
Type Description
WindowsScheduledTask.TaskAction.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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