Package com.google.cloud.alloydb.v1
Class AutomatedBackupPolicy.WeeklySchedule.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
- com.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule.Builder
-
- All Implemented Interfaces:
AutomatedBackupPolicy.WeeklyScheduleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutomatedBackupPolicy.WeeklySchedule
public static final class AutomatedBackupPolicy.WeeklySchedule.Builder extends com.google.protobuf.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 typegoogle.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AutomatedBackupPolicy.WeeklySchedule.BuilderaddAllDaysOfWeek(Iterable<? extends com.google.type.DayOfWeek> values)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddAllDaysOfWeekValue(Iterable<Integer> values)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddAllStartTimes(Iterable<? extends com.google.type.TimeOfDay> values)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddDaysOfWeek(com.google.type.DayOfWeek value)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddDaysOfWeekValue(int value)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutomatedBackupPolicy.WeeklySchedule.BuilderaddStartTimes(int index, com.google.type.TimeOfDay value)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddStartTimes(com.google.type.TimeOfDay value)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderaddStartTimes(com.google.type.TimeOfDay.Builder builderForValue)The times during the day to start a backup.com.google.type.TimeOfDay.BuilderaddStartTimesBuilder()The times during the day to start a backup.com.google.type.TimeOfDay.BuilderaddStartTimesBuilder(int index)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedulebuild()AutomatedBackupPolicy.WeeklySchedulebuildPartial()AutomatedBackupPolicy.WeeklySchedule.Builderclear()AutomatedBackupPolicy.WeeklySchedule.BuilderclearDaysOfWeek()The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AutomatedBackupPolicy.WeeklySchedule.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AutomatedBackupPolicy.WeeklySchedule.BuilderclearStartTimes()The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.Builderclone()com.google.type.DayOfWeekgetDaysOfWeek(int index)The days of the week to perform a backup.intgetDaysOfWeekCount()The days of the week to perform a backup.List<com.google.type.DayOfWeek>getDaysOfWeekList()The days of the week to perform a backup.intgetDaysOfWeekValue(int index)The days of the week to perform a backup.List<Integer>getDaysOfWeekValueList()The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedulegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.type.TimeOfDaygetStartTimes(int index)The times during the day to start a backup.com.google.type.TimeOfDay.BuildergetStartTimesBuilder(int index)The times during the day to start a backup.List<com.google.type.TimeOfDay.Builder>getStartTimesBuilderList()The times during the day to start a backup.intgetStartTimesCount()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.TimeOfDayOrBuildergetStartTimesOrBuilder(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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AutomatedBackupPolicy.WeeklySchedule.BuildermergeFrom(AutomatedBackupPolicy.WeeklySchedule other)AutomatedBackupPolicy.WeeklySchedule.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AutomatedBackupPolicy.WeeklySchedule.BuildermergeFrom(com.google.protobuf.Message other)AutomatedBackupPolicy.WeeklySchedule.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AutomatedBackupPolicy.WeeklySchedule.BuilderremoveStartTimes(int index)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuildersetDaysOfWeek(int index, com.google.type.DayOfWeek value)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuildersetDaysOfWeekValue(int index, int value)The days of the week to perform a backup.AutomatedBackupPolicy.WeeklySchedule.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AutomatedBackupPolicy.WeeklySchedule.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AutomatedBackupPolicy.WeeklySchedule.BuildersetStartTimes(int index, com.google.type.TimeOfDay value)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuildersetStartTimes(int index, com.google.type.TimeOfDay.Builder builderForValue)The times during the day to start a backup.AutomatedBackupPolicy.WeeklySchedule.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
clear
public AutomatedBackupPolicy.WeeklySchedule.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
getDefaultInstanceForType
public AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AutomatedBackupPolicy.WeeklySchedule build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AutomatedBackupPolicy.WeeklySchedule buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AutomatedBackupPolicy.WeeklySchedule.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
setField
public AutomatedBackupPolicy.WeeklySchedule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
clearField
public AutomatedBackupPolicy.WeeklySchedule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
clearOneof
public AutomatedBackupPolicy.WeeklySchedule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
setRepeatedField
public AutomatedBackupPolicy.WeeklySchedule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
addRepeatedField
public AutomatedBackupPolicy.WeeklySchedule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
mergeFrom
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
mergeFrom
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(AutomatedBackupPolicy.WeeklySchedule other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
mergeFrom
public AutomatedBackupPolicy.WeeklySchedule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>- Throws:
IOException
-
getStartTimesList
public 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;- Specified by:
getStartTimesListin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder
-
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;- Specified by:
getStartTimesCountin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder
-
getStartTimes
public 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;- Specified by:
getStartTimesin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder
-
setStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder setStartTimes(int index, com.google.type.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;
-
setStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder setStartTimes(int index, com.google.type.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;
-
addStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(com.google.type.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;
-
addStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(int index, com.google.type.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;
-
addStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(com.google.type.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;
-
addStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder addStartTimes(int index, com.google.type.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;
-
addAllStartTimes
public AutomatedBackupPolicy.WeeklySchedule.Builder addAllStartTimes(Iterable<? extends com.google.type.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;
-
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;
-
removeStartTimes
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;
-
getStartTimesBuilder
public com.google.type.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;
-
getStartTimesOrBuilder
public 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;- Specified by:
getStartTimesOrBuilderin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder
-
getStartTimesOrBuilderList
public 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;- Specified by:
getStartTimesOrBuilderListin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder
-
addStartTimesBuilder
public com.google.type.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;
-
addStartTimesBuilder
public com.google.type.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;
-
getStartTimesBuilderList
public List<com.google.type.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;
-
getDaysOfWeekList
public 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;- Specified by:
getDaysOfWeekListin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder- Returns:
- A list containing the daysOfWeek.
-
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;- Specified by:
getDaysOfWeekCountin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder- Returns:
- The count of daysOfWeek.
-
getDaysOfWeek
public 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;- Specified by:
getDaysOfWeekin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The daysOfWeek at the given index.
-
setDaysOfWeek
public AutomatedBackupPolicy.WeeklySchedule.Builder setDaysOfWeek(int index, com.google.type.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;- Parameters:
index- The index to set the value at.value- The daysOfWeek to set.- Returns:
- This builder for chaining.
-
addDaysOfWeek
public AutomatedBackupPolicy.WeeklySchedule.Builder addDaysOfWeek(com.google.type.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;- Parameters:
value- The daysOfWeek to add.- Returns:
- This builder for chaining.
-
addAllDaysOfWeek
public AutomatedBackupPolicy.WeeklySchedule.Builder addAllDaysOfWeek(Iterable<? extends com.google.type.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;- Parameters:
values- The daysOfWeek to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
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;- Specified by:
getDaysOfWeekValueListin interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder- Returns:
- A list containing the enum numeric values on the wire for daysOfWeek.
-
getDaysOfWeekValue
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;- Specified by:
getDaysOfWeekValuein interfaceAutomatedBackupPolicy.WeeklyScheduleOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of daysOfWeek at the given index.
-
setDaysOfWeekValue
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;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for daysOfWeek to set.- Returns:
- This builder for chaining.
-
addDaysOfWeekValue
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;- Parameters:
value- The enum numeric value on the wire for daysOfWeek to add.- Returns:
- This builder for chaining.
-
addAllDaysOfWeekValue
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;- Parameters:
values- The enum numeric values on the wire for daysOfWeek to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AutomatedBackupPolicy.WeeklySchedule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
mergeUnknownFields
public final AutomatedBackupPolicy.WeeklySchedule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AutomatedBackupPolicy.WeeklySchedule.Builder>
-
-