Package com.google.cloud.alloydb.v1beta
Interface ContinuousBackupInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContinuousBackupInfo,ContinuousBackupInfo.Builder
@Generated
public interface ContinuousBackupInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.getSchedule(int index) Output only.intOutput only.Output only.intgetScheduleValue(int index) Output only.Output only.booleanOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEncryptionInfo
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];- Returns:
- Whether the encryptionInfo field is set.
-
getEncryptionInfo
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];- Returns:
- The encryptionInfo.
-
getEncryptionInfoOrBuilder
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]; -
hasEnabledTime
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];- Returns:
- Whether the enabledTime field is set.
-
getEnabledTime
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];- Returns:
- The enabledTime.
-
getEnabledTimeOrBuilder
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]; -
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];- Returns:
- A list containing the schedule.
-
getScheduleCount
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];- Returns:
- The count of schedule.
-
getSchedule
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];- Parameters:
index- The index of the element to return.- Returns:
- The schedule at the given index.
-
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];- Returns:
- A list containing the enum numeric values on the wire for schedule.
-
getScheduleValue
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];- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of schedule at the given index.
-
hasEarliestRestorableTime
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];- Returns:
- Whether the earliestRestorableTime field is set.
-
getEarliestRestorableTime
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];- Returns:
- The earliestRestorableTime.
-
getEarliestRestorableTimeOrBuilder
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];
-