public static final class AutomatedBackupPolicy.WeeklySchedule extends com.google.protobuf.GeneratedMessageV3 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.v1.AutomatedBackupPolicy.WeeklySchedule| Modifier and Type | Class and Description |
|---|---|
static class |
AutomatedBackupPolicy.WeeklySchedule.Builder
A weekly schedule starts a backup at prescribed start times within a
day, for the specified days of the week.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DAYS_OF_WEEK_FIELD_NUMBER |
static int |
START_TIMES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static AutomatedBackupPolicy.WeeklySchedule |
getDefaultInstance() |
AutomatedBackupPolicy.WeeklySchedule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<AutomatedBackupPolicy.WeeklySchedule> |
getParserForType() |
int |
getSerializedSize() |
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.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AutomatedBackupPolicy.WeeklySchedule.Builder |
newBuilder() |
static AutomatedBackupPolicy.WeeklySchedule.Builder |
newBuilder(AutomatedBackupPolicy.WeeklySchedule prototype) |
AutomatedBackupPolicy.WeeklySchedule.Builder |
newBuilderForType() |
protected AutomatedBackupPolicy.WeeklySchedule.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AutomatedBackupPolicy.WeeklySchedule |
parseDelimitedFrom(InputStream input) |
static AutomatedBackupPolicy.WeeklySchedule |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(byte[] data) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(ByteBuffer data) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(com.google.protobuf.ByteString data) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(InputStream input) |
static AutomatedBackupPolicy.WeeklySchedule |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AutomatedBackupPolicy.WeeklySchedule> |
parser() |
AutomatedBackupPolicy.WeeklySchedule.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_TIMES_FIELD_NUMBER
public static final int DAYS_OF_WEEK_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;getStartTimesList in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getStartTimesOrBuilderList in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getStartTimesCount in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getStartTimes in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getStartTimesOrBuilder in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getDaysOfWeekList in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getDaysOfWeekCount in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getDaysOfWeek in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderindex - The index of the element to return.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;getDaysOfWeekValueList in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderpublic 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;getDaysOfWeekValue in interface AutomatedBackupPolicy.WeeklyScheduleOrBuilderindex - The index of the value to return.public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(InputStream input) throws IOException
IOExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AutomatedBackupPolicy.WeeklySchedule parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AutomatedBackupPolicy.WeeklySchedule.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AutomatedBackupPolicy.WeeklySchedule.Builder newBuilder()
public static AutomatedBackupPolicy.WeeklySchedule.Builder newBuilder(AutomatedBackupPolicy.WeeklySchedule prototype)
public AutomatedBackupPolicy.WeeklySchedule.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AutomatedBackupPolicy.WeeklySchedule.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AutomatedBackupPolicy.WeeklySchedule getDefaultInstance()
public static com.google.protobuf.Parser<AutomatedBackupPolicy.WeeklySchedule> parser()
public com.google.protobuf.Parser<AutomatedBackupPolicy.WeeklySchedule> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AutomatedBackupPolicy.WeeklySchedule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.