public static final class PatchDeployments.MonthlySchedule.Builder extends GeneratedMessage.Builder<PatchDeployments.MonthlySchedule.Builder> implements PatchDeployments.MonthlyScheduleOrBuilderRepresents a monthly schedule. An example of a valid monthly schedule is "on the third Tuesday of the month" or "on the 15th of the month".
Protobuf type google.cloud.osconfig.v1beta.MonthlySchedule
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PatchDeployments.MonthlySchedule.BuilderImplements
PatchDeployments.MonthlyScheduleOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PatchDeployments.MonthlySchedule build()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule |
|
buildPartial()
public PatchDeployments.MonthlySchedule buildPartial()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule |
|
clear()
public PatchDeployments.MonthlySchedule.Builder clear()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
clearDayOfMonth()
public PatchDeployments.MonthlySchedule.Builder clearDayOfMonth()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
clearMonthDay()
public PatchDeployments.MonthlySchedule.Builder clearMonthDay()Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
This builder for chaining. |
clearWeekDayOfMonth()
public PatchDeployments.MonthlySchedule.Builder clearWeekDayOfMonth()Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
getDayOfMonthCase()
public PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.DayOfMonthCase |
|
getDefaultInstanceForType()
public PatchDeployments.MonthlySchedule getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMonthDay()
public int getMonthDay()Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The monthDay. |
getWeekDayOfMonth()
public PatchDeployments.WeekDayOfMonth getWeekDayOfMonth()Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.WeekDayOfMonth |
The weekDayOfMonth. |
getWeekDayOfMonthBuilder()
public PatchDeployments.WeekDayOfMonth.Builder getWeekDayOfMonthBuilder()Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.WeekDayOfMonth.Builder |
|
getWeekDayOfMonthOrBuilder()
public PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder()Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.WeekDayOfMonthOrBuilder |
|
hasMonthDay()
public boolean hasMonthDay()Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the monthDay field is set. |
hasWeekDayOfMonth()
public boolean hasWeekDayOfMonth()Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the weekDayOfMonth field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PatchDeployments.MonthlySchedule other)
public PatchDeployments.MonthlySchedule.Builder mergeFrom(PatchDeployments.MonthlySchedule other)| Parameter | |
|---|---|
| Name | Description |
other |
PatchDeployments.MonthlySchedule |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchDeployments.MonthlySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PatchDeployments.MonthlySchedule.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
mergeWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value)
public PatchDeployments.MonthlySchedule.Builder mergeWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value)Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PatchDeployments.WeekDayOfMonth |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
setMonthDay(int value)
public PatchDeployments.MonthlySchedule.Builder setMonthDay(int value)Required. One day of the month. 1-31 indicates the 1st to the 31st day. -1 indicates the last day of the month. Months without the target day will be skipped. For example, a schedule to run "every month on the 31st" will not run in February, April, June, etc.
int32 month_day = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe monthDay to set. |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
This builder for chaining. |
setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value)
public PatchDeployments.MonthlySchedule.Builder setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth value)Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
PatchDeployments.WeekDayOfMonth |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|
setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth.Builder builderForValue)
public PatchDeployments.MonthlySchedule.Builder setWeekDayOfMonth(PatchDeployments.WeekDayOfMonth.Builder builderForValue)Required. Week day in a month.
.google.cloud.osconfig.v1beta.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
PatchDeployments.WeekDayOfMonth.Builder |
| Returns | |
|---|---|
| Type | Description |
PatchDeployments.MonthlySchedule.Builder |
|