public static final class ScheduledTask.Builder extends GeneratedMessage.Builder<ScheduledTask.Builder> implements ScheduledTaskOrBuilderDeprecated: use WindowsScheduledTask for Windows scheduled tasks or ScheduledCronTask for cron jobs. Information about a scheduled task.
Protobuf type google.backstory.ScheduledTask
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ScheduledTask.BuilderImplements
ScheduledTaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ScheduledTask build()| Returns | |
|---|---|
| Type | Description |
ScheduledTask |
|
buildPartial()
public ScheduledTask buildPartial()| Returns | |
|---|---|
| Type | Description |
ScheduledTask |
|
clear()
public ScheduledTask.Builder clear()| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
|
clearAuthor()
public ScheduledTask.Builder clearAuthor()The account name that authored or last modified the scheduled task.
string author = 7;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearComment()
public ScheduledTask.Builder clearComment()A comment or description for the task.
string comment = 6;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearHour()
public ScheduledTask.Builder clearHour()The hour of the day (0-23).
int32 hour = 2;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearMinute()
public ScheduledTask.Builder clearMinute()The minute of the hour (0-59).
int32 minute = 1;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearMonth()
public ScheduledTask.Builder clearMonth()The month of the year (1-12).
int32 month = 4;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearMonthDay()
public ScheduledTask.Builder clearMonthDay()The day of the month (1-31).
int32 month_day = 3;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
clearWeekDay()
public ScheduledTask.Builder clearWeekDay()The day of the week (0-6, Sunday=0).
int32 week_day = 5;
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
getAuthor()
public String getAuthor()The account name that authored or last modified the scheduled task.
string author = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The author. |
getAuthorBytes()
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()
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 ScheduledTask getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ScheduledTask |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHour()
public int getHour()The hour of the day (0-23).
int32 hour = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The hour. |
getMinute()
public int getMinute()The minute of the hour (0-59).
int32 minute = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The minute. |
getMonth()
public int getMonth()The month of the year (1-12).
int32 month = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The month. |
getMonthDay()
public int getMonthDay()The day of the month (1-31).
int32 month_day = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The monthDay. |
getWeekDay()
public int getWeekDay()The day of the week (0-6, Sunday=0).
int32 week_day = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The weekDay. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ScheduledTask other)
public ScheduledTask.Builder mergeFrom(ScheduledTask other)| Parameter | |
|---|---|
| Name | Description |
other |
ScheduledTask |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScheduledTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ScheduledTask.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
|
setAuthor(String value)
public ScheduledTask.Builder setAuthor(String value)The account name that authored or last modified the scheduled task.
string author = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe author to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setAuthorBytes(ByteString value)
public ScheduledTask.Builder setAuthorBytes(ByteString value)The account name that authored or last modified the scheduled task.
string author = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for author to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setComment(String value)
public ScheduledTask.Builder setComment(String value)A comment or description for the task.
string comment = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe comment to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setCommentBytes(ByteString value)
public ScheduledTask.Builder setCommentBytes(ByteString value)A comment or description for the task.
string comment = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for comment to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setHour(int value)
public ScheduledTask.Builder setHour(int value)The hour of the day (0-23).
int32 hour = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe hour to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setMinute(int value)
public ScheduledTask.Builder setMinute(int value)The minute of the hour (0-59).
int32 minute = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe minute to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setMonth(int value)
public ScheduledTask.Builder setMonth(int value)The month of the year (1-12).
int32 month = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe month to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setMonthDay(int value)
public ScheduledTask.Builder setMonthDay(int value)The day of the month (1-31).
int32 month_day = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe monthDay to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |
setWeekDay(int value)
public ScheduledTask.Builder setWeekDay(int value)The day of the week (0-6, Sunday=0).
int32 week_day = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe weekDay to set. |
| Returns | |
|---|---|
| Type | Description |
ScheduledTask.Builder |
This builder for chaining. |