Package com.google.cloud.alloydb.v1beta
Interface AutomatedBackupPolicy.WeeklyScheduleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AutomatedBackupPolicy.WeeklySchedule,AutomatedBackupPolicy.WeeklySchedule.Builder
- Enclosing class:
- AutomatedBackupPolicy
public static interface AutomatedBackupPolicy.WeeklyScheduleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDaysOfWeek(int index) The days of the week to perform a backup.intThe days of the week to perform a backup.The days of the week to perform a backup.intgetDaysOfWeekValue(int index) The days of the week to perform a backup.The days of the week to perform a backup.getStartTimes(int index) The times during the day to start a backup.intThe times during the day to start a backup.The times during the day to start a backup.getStartTimesOrBuilder(int index) The times during the day to start a backup.List<? extends TimeOfDayOrBuilder>The times during the day to start a backup.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
-
getStartTimesList
The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
repeated .google.type.TimeOfDay start_times = 1; -
getStartTimes
The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
repeated .google.type.TimeOfDay start_times = 1; -
getStartTimesCount
int getStartTimesCount()The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
repeated .google.type.TimeOfDay start_times = 1; -
getStartTimesOrBuilderList
List<? extends TimeOfDayOrBuilder> getStartTimesOrBuilderList()The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
repeated .google.type.TimeOfDay start_times = 1; -
getStartTimesOrBuilder
The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
repeated .google.type.TimeOfDay start_times = 1; -
getDaysOfWeekList
The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
repeated .google.type.DayOfWeek days_of_week = 2;- Returns:
- A list containing the daysOfWeek.
-
getDaysOfWeekCount
int getDaysOfWeekCount()The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
repeated .google.type.DayOfWeek days_of_week = 2;- Returns:
- The count of daysOfWeek.
-
getDaysOfWeek
The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
repeated .google.type.DayOfWeek days_of_week = 2;- Parameters:
index- The index of the element to return.- Returns:
- The daysOfWeek at the given index.
-
getDaysOfWeekValueList
The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
repeated .google.type.DayOfWeek days_of_week = 2;- Returns:
- A list containing the enum numeric values on the wire for daysOfWeek.
-
getDaysOfWeekValue
int getDaysOfWeekValue(int index) The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
repeated .google.type.DayOfWeek days_of_week = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of daysOfWeek at the given index.
-