Class ScheduledTask (0.3.0)

public final class ScheduledTask extends GeneratedMessage implements ScheduledTaskOrBuilder

Deprecated: use WindowsScheduledTask for Windows scheduled tasks or ScheduledCronTask for cron jobs. Information about a scheduled task.

Protobuf type google.backstory.ScheduledTask

Static Fields

AUTHOR_FIELD_NUMBER (deprecated)

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

COMMENT_FIELD_NUMBER (deprecated)

public static final int COMMENT_FIELD_NUMBER
Field Value
Type Description
int

HOUR_FIELD_NUMBER (deprecated)

public static final int HOUR_FIELD_NUMBER
Field Value
Type Description
int

MINUTE_FIELD_NUMBER (deprecated)

public static final int MINUTE_FIELD_NUMBER
Field Value
Type Description
int

MONTH_DAY_FIELD_NUMBER (deprecated)

public static final int MONTH_DAY_FIELD_NUMBER
Field Value
Type Description
int

MONTH_FIELD_NUMBER (deprecated)

public static final int MONTH_FIELD_NUMBER
Field Value
Type Description
int

WEEK_DAY_FIELD_NUMBER (deprecated)

public static final int WEEK_DAY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance() (deprecated)

public static ScheduledTask getDefaultInstance()
Returns
Type Description
ScheduledTask

getDescriptor() (deprecated)

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

newBuilder() (deprecated)

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

newBuilder(ScheduledTask prototype) (deprecated)

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

parseDelimitedFrom(InputStream input) (deprecated)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(byte[] data) (deprecated)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteString data) (deprecated)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(CodedInputStream input) (deprecated)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(InputStream input) (deprecated)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parseFrom(ByteBuffer data) (deprecated)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) (deprecated)

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

parser() (deprecated)

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

Methods

equals(Object obj) (deprecated)

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

getAuthor() (deprecated)

public String getAuthor()

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

string author = 7;

Returns
Type Description
String

The author.

getAuthorBytes() (deprecated)

public ByteString getAuthorBytes()

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

string author = 7;

Returns
Type Description
ByteString

The bytes for author.

getComment() (deprecated)

public String getComment()

A comment or description for the task.

string comment = 6;

Returns
Type Description
String

The comment.

getCommentBytes() (deprecated)

public ByteString getCommentBytes()

A comment or description for the task.

string comment = 6;

Returns
Type Description
ByteString

The bytes for comment.

getDefaultInstanceForType() (deprecated)

public ScheduledTask getDefaultInstanceForType()
Returns
Type Description
ScheduledTask

getHour() (deprecated)

public int getHour()

The hour of the day (0-23).

int32 hour = 2;

Returns
Type Description
int

The hour.

getMinute() (deprecated)

public int getMinute()

The minute of the hour (0-59).

int32 minute = 1;

Returns
Type Description
int

The minute.

getMonth() (deprecated)

public int getMonth()

The month of the year (1-12).

int32 month = 4;

Returns
Type Description
int

The month.

getMonthDay() (deprecated)

public int getMonthDay()

The day of the month (1-31).

int32 month_day = 3;

Returns
Type Description
int

The monthDay.

getParserForType() (deprecated)

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

getSerializedSize() (deprecated)

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWeekDay() (deprecated)

public int getWeekDay()

The day of the week (0-6, Sunday=0).

int32 week_day = 5;

Returns
Type Description
int

The weekDay.

hashCode() (deprecated)

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable() (deprecated)

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

isInitialized() (deprecated)

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType() (deprecated)

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

newBuilderForType(AbstractMessage.BuilderParent parent) (deprecated)

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

toBuilder() (deprecated)

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

writeTo(CodedOutputStream output) (deprecated)

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