- 0.67.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AutomatedBackupPolicy.WeeklySchedule.Builder extends GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder> implements AutomatedBackupPolicy.WeeklyScheduleOrBuilder A weekly schedule starts a backup at prescribed start times within a
 day, for the specified days of the week.
 The weekly schedule message is flexible and can be used to create many
 types of schedules. For example, to have a daily backup that starts at
 22:00, configure the start_times field to have one element "22:00" and
 the days_of_week field to have all seven days of the week.
 Protobuf type google.cloud.alloydb.v1beta.AutomatedBackupPolicy.WeeklySchedule
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomatedBackupPolicy.WeeklySchedule.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllDaysOfWeek(Iterable<? extends DayOfWeek> values)
public AutomatedBackupPolicy.WeeklySchedule.Builder addAllDaysOfWeek(Iterable<? extends DayOfWeek> values)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;
| Name | Description | 
| values | Iterable<? extends com.google.type.DayOfWeek>The daysOfWeek to add. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
addAllDaysOfWeekValue(Iterable<Integer> values)
public AutomatedBackupPolicy.WeeklySchedule.Builder addAllDaysOfWeekValue(Iterable<Integer> values)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;
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for daysOfWeek to add. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
addAllStartTimes(Iterable<? extends TimeOfDay> values)
public AutomatedBackupPolicy.WeeklySchedule.Builder addAllStartTimes(Iterable<? extends TimeOfDay> values)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;
| Name | Description | 
| values | Iterable<? extends com.google.type.TimeOfDay> | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addDaysOfWeek(DayOfWeek value)
public AutomatedBackupPolicy.WeeklySchedule.Builder addDaysOfWeek(DayOfWeek value)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;
| Name | Description | 
| value | com.google.type.DayOfWeekThe daysOfWeek to add. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
addDaysOfWeekValue(int value)
public AutomatedBackupPolicy.WeeklySchedule.Builder addDaysOfWeekValue(int value)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;
| Name | Description | 
| value | intThe enum numeric value on the wire for daysOfWeek to add. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.WeeklySchedule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addStartTimes(TimeOfDay value)
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(TimeOfDay value)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;
| Name | Description | 
| value | com.google.type.TimeOfDay | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addStartTimes(TimeOfDay.Builder builderForValue)
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(TimeOfDay.Builder builderForValue)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;
| Name | Description | 
| builderForValue | com.google.type.TimeOfDay.Builder | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addStartTimes(int index, TimeOfDay value)
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(int index, TimeOfDay value)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;
| Name | Description | 
| index | int | 
| value | com.google.type.TimeOfDay | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addStartTimes(int index, TimeOfDay.Builder builderForValue)
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(int index, TimeOfDay.Builder builderForValue)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;
| Name | Description | 
| index | int | 
| builderForValue | com.google.type.TimeOfDay.Builder | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
addStartTimesBuilder()
public TimeOfDay.Builder addStartTimesBuilder()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;
| Type | Description | 
| com.google.type.TimeOfDay.Builder | 
addStartTimesBuilder(int index)
public TimeOfDay.Builder addStartTimesBuilder(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;
| Name | Description | 
| index | int | 
| Type | Description | 
| com.google.type.TimeOfDay.Builder | 
build()
public AutomatedBackupPolicy.WeeklySchedule build()| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule | 
buildPartial()
public AutomatedBackupPolicy.WeeklySchedule buildPartial()| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule | 
clear()
public AutomatedBackupPolicy.WeeklySchedule.Builder clear()| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
clearDaysOfWeek()
public AutomatedBackupPolicy.WeeklySchedule.Builder clearDaysOfWeek()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;
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public AutomatedBackupPolicy.WeeklySchedule.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomatedBackupPolicy.WeeklySchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
clearStartTimes()
public AutomatedBackupPolicy.WeeklySchedule.Builder clearStartTimes()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;
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
clone()
public AutomatedBackupPolicy.WeeklySchedule.Builder clone()| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
getDaysOfWeek(int index)
public 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;
| Name | Description | 
| index | intThe index of the element to return. | 
| Type | Description | 
| com.google.type.DayOfWeek | The daysOfWeek at the given index. | 
getDaysOfWeekCount()
public 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;
| Type | Description | 
| int | The count of daysOfWeek. | 
getDaysOfWeekList()
public List<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;
| Type | Description | 
| List<com.google.type.DayOfWeek> | A list containing the daysOfWeek. | 
getDaysOfWeekValue(int index)
public 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;
| Name | Description | 
| index | intThe index of the value to return. | 
| Type | Description | 
| int | The enum numeric value on the wire of daysOfWeek at the given index. | 
getDaysOfWeekValueList()
public 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;
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for daysOfWeek. | 
getDefaultInstanceForType()
public AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType()| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getStartTimes(int index)
public 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;
| Name | Description | 
| index | int | 
| Type | Description | 
| com.google.type.TimeOfDay | 
getStartTimesBuilder(int index)
public TimeOfDay.Builder getStartTimesBuilder(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;
| Name | Description | 
| index | int | 
| Type | Description | 
| com.google.type.TimeOfDay.Builder | 
getStartTimesBuilderList()
public List<TimeOfDay.Builder> getStartTimesBuilderList()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;
| Type | Description | 
| List<com.google.type.TimeOfDay.Builder> | 
getStartTimesCount()
public 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;
| Type | Description | 
| int | 
getStartTimesList()
public List<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;
| Type | Description | 
| List<com.google.type.TimeOfDay> | 
getStartTimesOrBuilder(int index)
public 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;
| Name | Description | 
| index | int | 
| Type | Description | 
| com.google.type.TimeOfDayOrBuilder | 
getStartTimesOrBuilderList()
public 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;
| Type | Description | 
| List<? extends com.google.type.TimeOfDayOrBuilder> | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(AutomatedBackupPolicy.WeeklySchedule other)
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(AutomatedBackupPolicy.WeeklySchedule other)| Name | Description | 
| other | AutomatedBackupPolicy.WeeklySchedule | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.WeeklySchedule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
removeStartTimes(int index)
public AutomatedBackupPolicy.WeeklySchedule.Builder removeStartTimes(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;
| Name | Description | 
| index | int | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
setDaysOfWeek(int index, DayOfWeek value)
public AutomatedBackupPolicy.WeeklySchedule.Builder setDaysOfWeek(int index, DayOfWeek value)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;
| Name | Description | 
| index | intThe index to set the value at. | 
| value | com.google.type.DayOfWeekThe daysOfWeek to set. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
setDaysOfWeekValue(int index, int value)
public AutomatedBackupPolicy.WeeklySchedule.Builder setDaysOfWeekValue(int index, int value)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;
| Name | Description | 
| index | intThe index to set the value at. | 
| value | intThe enum numeric value on the wire for daysOfWeek to set. | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.WeeklySchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomatedBackupPolicy.WeeklySchedule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
setStartTimes(int index, TimeOfDay value)
public AutomatedBackupPolicy.WeeklySchedule.Builder setStartTimes(int index, TimeOfDay value)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;
| Name | Description | 
| index | int | 
| value | com.google.type.TimeOfDay | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
setStartTimes(int index, TimeOfDay.Builder builderForValue)
public AutomatedBackupPolicy.WeeklySchedule.Builder setStartTimes(int index, TimeOfDay.Builder builderForValue)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;
| Name | Description | 
| index | int | 
| builderForValue | com.google.type.TimeOfDay.Builder | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder | 
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.WeeklySchedule.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Type | Description | 
| AutomatedBackupPolicy.WeeklySchedule.Builder |