Interface PatchDeployments.MonthlyScheduleOrBuilder (2.24.0)

public static interface PatchDeployments.MonthlyScheduleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDayOfMonthCase()

public abstract PatchDeployments.MonthlySchedule.DayOfMonthCase getDayOfMonthCase()
Returns
TypeDescription
PatchDeployments.MonthlySchedule.DayOfMonthCase

getMonthDay()

public abstract 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
TypeDescription
int

The monthDay.

getWeekDayOfMonth()

public abstract PatchDeployments.WeekDayOfMonth getWeekDayOfMonth()

Required. Week day in a month.

.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.WeekDayOfMonth

The weekDayOfMonth.

getWeekDayOfMonthOrBuilder()

public abstract PatchDeployments.WeekDayOfMonthOrBuilder getWeekDayOfMonthOrBuilder()

Required. Week day in a month.

.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PatchDeployments.WeekDayOfMonthOrBuilder

hasMonthDay()

public abstract 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
TypeDescription
boolean

Whether the monthDay field is set.

hasWeekDayOfMonth()

public abstract boolean hasWeekDayOfMonth()

Required. Week day in a month.

.google.cloud.osconfig.v1.WeekDayOfMonth week_day_of_month = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the weekDayOfMonth field is set.