Interface WeeklyMaintenanceWindowOrBuilder (2.47.0)

public interface WeeklyMaintenanceWindowOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDay()

public abstract DayOfWeek getDay()

Required. The day of week that maintenance updates occur.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.DayOfWeek

The day.

getDayValue()

public abstract int getDayValue()

Required. The day of week that maintenance updates occur.

.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for day.

getDuration()

public abstract Duration getDuration()

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getStartTime()

public abstract TimeOfDay getStartTime()

Required. Start time of the window in UTC time.

.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDay

The startTime.

getStartTimeOrBuilder()

public abstract TimeOfDayOrBuilder getStartTimeOrBuilder()

Required. Start time of the window in UTC time.

.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeOfDayOrBuilder

hasDuration()

public abstract boolean hasDuration()

Output only. Duration of the maintenance window. The current window is fixed at 1 hour.

.google.protobuf.Duration duration = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duration field is set.

hasStartTime()

public abstract boolean hasStartTime()

Required. Start time of the window in UTC time.

.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the startTime field is set.