Package com.google.cloud.alloydb.v1alpha
Interface ContinuousBackupInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContinuousBackupInfo
,ContinuousBackupInfo.Builder
public interface ContinuousBackupInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Timestamp
getEarliestRestorableTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEarliestRestorableTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getEnabledTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEnabledTimeOrBuilder()
Output only.EncryptionInfo
getEncryptionInfo()
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEncryptionInfo
boolean hasEncryptionInfo()
Output only. The encryption information for the WALs and backups required for ContinuousBackup.
.google.cloud.alloydb.v1alpha.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.v1alpha.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.v1alpha.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
List<com.google.type.DayOfWeek> getScheduleList()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
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. Output only field. Ignored if passed into the request.
repeated .google.type.DayOfWeek schedule = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The count of schedule.
-
getSchedule
com.google.type.DayOfWeek getSchedule(int index)
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
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
List<Integer> getScheduleValueList()
Output only. Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
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. Output only field. Ignored if passed into the request.
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. Output only field.
.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. Output only field.
.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. Output only field.
.google.protobuf.Timestamp earliest_restorable_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
-