Class ScheduledCronTask (0.3.0)

public final class ScheduledCronTask extends GeneratedMessage implements ScheduledCronTaskOrBuilder

Information about a scheduled cron task.

Protobuf type google.backstory.ScheduledCronTask

Static Fields

AUTHOR_FIELD_NUMBER

public static final int AUTHOR_FIELD_NUMBER
Field Value
Type Description
int

COMMENT_FIELD_NUMBER

public static final int COMMENT_FIELD_NUMBER
Field Value
Type Description
int

EVENT_FIELD_NUMBER

public static final int EVENT_FIELD_NUMBER
Field Value
Type Description
int

HOUR_FIELD_NUMBER

public static final int HOUR_FIELD_NUMBER
Field Value
Type Description
int

MINUTE_FIELD_NUMBER

public static final int MINUTE_FIELD_NUMBER
Field Value
Type Description
int

MONTH_DAY_FIELD_NUMBER

public static final int MONTH_DAY_FIELD_NUMBER
Field Value
Type Description
int

MONTH_FIELD_NUMBER

public static final int MONTH_FIELD_NUMBER
Field Value
Type Description
int

PATH_FIELD_NUMBER

public static final int PATH_FIELD_NUMBER
Field Value
Type Description
int

WEEK_DAY_FIELD_NUMBER

public static final int WEEK_DAY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ScheduledCronTask getDefaultInstance()
Returns
Type Description
ScheduledCronTask

getDescriptor()

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

newBuilder()

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

newBuilder(ScheduledCronTask prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthor()

public String getAuthor()

The author or creator of the task.

string author = 7;

Returns
Type Description
String

The author.

getAuthorBytes()

public ByteString getAuthorBytes()

The author or creator of the task.

string author = 7;

Returns
Type Description
ByteString

The bytes for author.

getComment()

public String getComment()

A comment or description for the task.

string comment = 6;

Returns
Type Description
String

The comment.

getCommentBytes()

public ByteString getCommentBytes()

A comment or description for the task.

string comment = 6;

Returns
Type Description
ByteString

The bytes for comment.

getDefaultInstanceForType()

public ScheduledCronTask getDefaultInstanceForType()
Returns
Type Description
ScheduledCronTask

getEvent()

public String getEvent()

Crontab special string or event (e.g., "@reboot", "@daily").

string event = 8;

Returns
Type Description
String

The event.

getEventBytes()

public ByteString getEventBytes()

Crontab special string or event (e.g., "@reboot", "@daily").

string event = 8;

Returns
Type Description
ByteString

The bytes for event.

getHour()

public String getHour()

Crontab hour field. Value is an integer between 0 and 23, a range or list of values (e.g., "0-6", "/2", "1,2"), or an asterisk () to indicate first-last hours.

string hour = 2;

Returns
Type Description
String

The hour.

getHourBytes()

public ByteString getHourBytes()

Crontab hour field. Value is an integer between 0 and 23, a range or list of values (e.g., "0-6", "/2", "1,2"), or an asterisk () to indicate first-last hours.

string hour = 2;

Returns
Type Description
ByteString

The bytes for hour.

getMinute()

public String getMinute()

Crontab minute field. Value is an integer between 0 and 59 and can also be a range or list of values (e.g., "0-59", "0-59/5", "0,15,30,45") and it // can also be an asterisk (*) to indicate first-last minutes. More on crontab format can be found here: https://www.linux.org/docs/man5/crontab.html

string minute = 1;

Returns
Type Description
String

The minute.

getMinuteBytes()

public ByteString getMinuteBytes()

Crontab minute field. Value is an integer between 0 and 59 and can also be a range or list of values (e.g., "0-59", "0-59/5", "0,15,30,45") and it // can also be an asterisk (*) to indicate first-last minutes. More on crontab format can be found here: https://www.linux.org/docs/man5/crontab.html

string minute = 1;

Returns
Type Description
ByteString

The bytes for minute.

getMonth()

public String getMonth()

Crontab month field. Value is an integer between 1 and 12 or a 3-letter name (e.g., "Jan"), a range or list of values (e.g., "1-3", "/2", "1,6"), or an asterisk () to indicate first-last months.

string month = 4;

Returns
Type Description
String

The month.

getMonthBytes()

public ByteString getMonthBytes()

Crontab month field. Value is an integer between 1 and 12 or a 3-letter name (e.g., "Jan"), a range or list of values (e.g., "1-3", "/2", "1,6"), or an asterisk () to indicate first-last months.

string month = 4;

Returns
Type Description
ByteString

The bytes for month.

getMonthDay()

public String getMonthDay()

Crontab day of month field. Value is an integer between 1 and 31, a range or list of values (e.g., "1-7", "1-31/7", "1,15"), or an asterisk (*) to indicate first-last days of month.

string month_day = 3;

Returns
Type Description
String

The monthDay.

getMonthDayBytes()

public ByteString getMonthDayBytes()

Crontab day of month field. Value is an integer between 1 and 31, a range or list of values (e.g., "1-7", "1-31/7", "1,15"), or an asterisk (*) to indicate first-last days of month.

string month_day = 3;

Returns
Type Description
ByteString

The bytes for monthDay.

getParserForType()

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

getPath()

public String getPath()

The PATH environment variable defined in the crontab file.

string path = 9;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

The PATH environment variable defined in the crontab file.

string path = 9;

Returns
Type Description
ByteString

The bytes for path.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWeekDay()

public String getWeekDay()

Crontab day of week field. Value is an integer between 0 and 7 (0 or 7 is Sunday) or a 3-letter name (e.g., "Fri"), a range or list of values (e.g., "1-5", "0,6"), or an asterisk (*) to indicate first-last days of week.

string week_day = 5;

Returns
Type Description
String

The weekDay.

getWeekDayBytes()

public ByteString getWeekDayBytes()

Crontab day of week field. Value is an integer between 0 and 7 (0 or 7 is Sunday) or a 3-letter name (e.g., "Fri"), a range or list of values (e.g., "1-5", "0,6"), or an asterisk (*) to indicate first-last days of week.

string week_day = 5;

Returns
Type Description
ByteString

The bytes for weekDay.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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