public final class ScheduledCronTask extends GeneratedMessage implements ScheduledCronTaskOrBuilder
Information about a scheduled cron task.
Protobuf type google.backstory.ScheduledCronTask
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
AUTHOR_FIELD_NUMBER
public static final int AUTHOR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ScheduledCronTask.Builder newBuilder()
newBuilder(ScheduledCronTask prototype)
public static ScheduledCronTask.Builder newBuilder(ScheduledCronTask prototype)
parseDelimitedFrom(InputStream input)
public static ScheduledCronTask parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ScheduledCronTask parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ScheduledCronTask parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ScheduledCronTask parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ScheduledCronTask parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ScheduledCronTask parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScheduledCronTask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ScheduledCronTask> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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.
|
public String getComment()
A comment or description for the task.
string comment = 6;
| Returns |
| Type |
Description |
String |
The comment.
|
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()
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()
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()
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()
Overrides
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ScheduledCronTask.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ScheduledCronTask.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ScheduledCronTask.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides