Package com.google.cloud.alloydb.v1alpha
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.DayOfWeek
getDaysOfWeek(int index)
The days of the week to perform a backup.int
getDaysOfWeekCount()
The days of the week to perform a backup.List<com.google.type.DayOfWeek>
getDaysOfWeekList()
The days of the week to perform a backup.int
getDaysOfWeekValue(int index)
The days of the week to perform a backup.List<Integer>
getDaysOfWeekValueList()
The days of the week to perform a backup.com.google.type.TimeOfDay
getStartTimes(int index)
The times during the day to start a backup.int
getStartTimesCount()
The times during the day to start a backup.List<com.google.type.TimeOfDay>
getStartTimesList()
The times during the day to start a backup.com.google.type.TimeOfDayOrBuilder
getStartTimesOrBuilder(int index)
The times during the day to start a backup.List<? extends com.google.type.TimeOfDayOrBuilder>
getStartTimesOrBuilderList()
The times during the day to start a backup.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStartTimesList
List<com.google.type.TimeOfDay> 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
com.google.type.TimeOfDay getStartTimes(int index)
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 com.google.type.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
com.google.type.TimeOfDayOrBuilder getStartTimesOrBuilder(int index)
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
List<com.google.type.DayOfWeek> 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
com.google.type.DayOfWeek getDaysOfWeek(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 element to return.- Returns:
- The daysOfWeek at the given index.
-
getDaysOfWeekValueList
List<Integer> 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.
-
-