Package com.google.cloud.redis.v1
Interface WeeklyMaintenanceWindowOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeeklyMaintenanceWindow,WeeklyMaintenanceWindow.Builder
@Generated
public interface WeeklyMaintenanceWindowOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDay()Required.intRequired.com.google.protobuf.DurationOutput only.com.google.protobuf.DurationOrBuilderOutput only.Required.Required.booleanOutput only.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDayValue
int getDayValue()Required. The day of week that maintenance updates occur.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for day.
-
getDay
DayOfWeek getDay()Required. The day of week that maintenance updates occur.
.google.type.DayOfWeek day = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The day.
-
hasStartTime
boolean hasStartTime()Required. Start time of the window in UTC time.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the startTime field is set.
-
getStartTime
TimeOfDay getStartTime()Required. Start time of the window in UTC time.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The startTime.
-
getStartTimeOrBuilder
TimeOfDayOrBuilder getStartTimeOrBuilder()Required. Start time of the window in UTC time.
.google.type.TimeOfDay start_time = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasDuration
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:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.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:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.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];
-