public static final class ContinuousBackupInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupInfo.Builder> implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a cluster.Protobuf type
google.cloud.alloydb.v1beta.ContinuousBackupInfo| Modifier and Type | Method and Description |
|---|---|
ContinuousBackupInfo.Builder |
addAllSchedule(Iterable<? extends com.google.type.DayOfWeek> values)
Output only.
|
ContinuousBackupInfo.Builder |
addAllScheduleValue(Iterable<Integer> values)
Output only.
|
ContinuousBackupInfo.Builder |
addSchedule(com.google.type.DayOfWeek value)
Output only.
|
ContinuousBackupInfo.Builder |
addScheduleValue(int value)
Output only.
|
ContinuousBackupInfo |
build() |
ContinuousBackupInfo |
buildPartial() |
ContinuousBackupInfo.Builder |
clear() |
ContinuousBackupInfo.Builder |
clearEarliestRestorableTime()
Output only.
|
ContinuousBackupInfo.Builder |
clearEnabledTime()
Output only.
|
ContinuousBackupInfo.Builder |
clearEncryptionInfo()
Output only.
|
ContinuousBackupInfo.Builder |
clearSchedule()
Output only.
|
ContinuousBackupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEarliestRestorableTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEarliestRestorableTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEarliestRestorableTimeOrBuilder()
Output only.
|
com.google.protobuf.Timestamp |
getEnabledTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getEnabledTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getEnabledTimeOrBuilder()
Output only.
|
EncryptionInfo |
getEncryptionInfo()
Output only.
|
EncryptionInfo.Builder |
getEncryptionInfoBuilder()
Output only.
|
EncryptionInfoOrBuilder |
getEncryptionInfoOrBuilder()
Output only.
|
com.google.type.DayOfWeek |
getSchedule(int index)
Output only.
|
int |
getScheduleCount()
Output only.
|
List<com.google.type.DayOfWeek> |
getScheduleList()
Output only.
|
int |
getScheduleValue(int index)
Output only.
|
List<Integer> |
getScheduleValueList()
Output only.
|
boolean |
hasEarliestRestorableTime()
Output only.
|
boolean |
hasEnabledTime()
Output only.
|
boolean |
hasEncryptionInfo()
Output only.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ContinuousBackupInfo.Builder |
mergeEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeEnabledTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeEncryptionInfo(EncryptionInfo value)
Output only.
|
ContinuousBackupInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ContinuousBackupInfo.Builder |
mergeFrom(ContinuousBackupInfo other) |
ContinuousBackupInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
ContinuousBackupInfo.Builder |
setEarliestRestorableTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEnabledTime(com.google.protobuf.Timestamp value)
Output only.
|
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only.
|
ContinuousBackupInfo.Builder |
setEncryptionInfo(EncryptionInfo value)
Output only.
|
ContinuousBackupInfo.Builder |
setSchedule(int index,
com.google.type.DayOfWeek value)
Output only.
|
ContinuousBackupInfo.Builder |
setScheduleValue(int index,
int value)
Output only.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ContinuousBackupInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ContinuousBackupInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder mergeFrom(ContinuousBackupInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ContinuousBackupInfo.Builder>public ContinuousBackupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContinuousBackupInfo.Builder>IOExceptionpublic boolean hasEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEncryptionInfo in interface ContinuousBackupInfoOrBuilderpublic EncryptionInfo getEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfo in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEncryptionInfo(EncryptionInfo.Builder builderForValue)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEncryptionInfo(EncryptionInfo value)
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfo.Builder getEncryptionInfoBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public EncryptionInfoOrBuilder getEncryptionInfoOrBuilder()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEncryptionInfoOrBuilder in interface ContinuousBackupInfoOrBuilderpublic boolean hasEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEnabledTime in interface ContinuousBackupInfoOrBuilderpublic com.google.protobuf.Timestamp getEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnabledTime in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEnabledTime(com.google.protobuf.Timestamp value)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEnabledTime(com.google.protobuf.Timestamp value)
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEnabledTime()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEnabledTimeBuilder()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEnabledTimeOrBuilder()
Output only. When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
.google.protobuf.Timestamp enabled_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEnabledTimeOrBuilder in interface ContinuousBackupInfoOrBuilderpublic List<com.google.type.DayOfWeek> getScheduleList()
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleList in interface ContinuousBackupInfoOrBuilderpublic int getScheduleCount()
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleCount in interface ContinuousBackupInfoOrBuilderpublic com.google.type.DayOfWeek getSchedule(int index)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSchedule in interface ContinuousBackupInfoOrBuilderindex - The index of the element to return.public ContinuousBackupInfo.Builder setSchedule(int index, com.google.type.DayOfWeek value)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The schedule to set.public ContinuousBackupInfo.Builder addSchedule(com.google.type.DayOfWeek value)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The schedule to add.public ContinuousBackupInfo.Builder addAllSchedule(Iterable<? extends com.google.type.DayOfWeek> values)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The schedule to add.public ContinuousBackupInfo.Builder clearSchedule()
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public List<Integer> getScheduleValueList()
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleValueList in interface ContinuousBackupInfoOrBuilderpublic int getScheduleValue(int index)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getScheduleValue in interface ContinuousBackupInfoOrBuilderindex - The index of the value to return.public ContinuousBackupInfo.Builder setScheduleValue(int index, int value)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
index - The index to set the value at.value - The enum numeric value on the wire for schedule to set.public ContinuousBackupInfo.Builder addScheduleValue(int value)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for schedule to add.public ContinuousBackupInfo.Builder addAllScheduleValue(Iterable<Integer> values)
Output only. Days of the week on which a continuous backup is taken.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
values - The enum numeric values on the wire for schedule to add.public boolean hasEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEarliestRestorableTime in interface ContinuousBackupInfoOrBuilderpublic com.google.protobuf.Timestamp getEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEarliestRestorableTime in interface ContinuousBackupInfoOrBuilderpublic ContinuousBackupInfo.Builder setEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder setEarliestRestorableTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder mergeEarliestRestorableTime(com.google.protobuf.Timestamp value)
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ContinuousBackupInfo.Builder clearEarliestRestorableTime()
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getEarliestRestorableTimeBuilder()
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getEarliestRestorableTimeOrBuilder()
Output only. The earliest restorable time that can be restored to. If continuous backups and recovery was recently enabled, the earliest restorable time is the creation time of the earliest eligible backup within this cluster's continuous backup recovery window. After a cluster has had continuous backups enabled for the duration of its recovery window, the earliest restorable time becomes "now minus the recovery window". For example, assuming a point in time recovery is attempted at 04/16/2025 3:23:00PM with a 14d recovery window, the earliest restorable time would be 04/02/2025 3:23:00PM. This field is only visible if the CLUSTER_VIEW_CONTINUOUS_BACKUP cluster view is provided.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getEarliestRestorableTimeOrBuilder in interface ContinuousBackupInfoOrBuilderCopyright © 2026 Google LLC. All rights reserved.