public final class ContinuousBackupInfo extends GeneratedMessage implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a
cluster.
Protobuf type google.cloud.alloydb.v1alpha.ContinuousBackupInfo
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
EARLIEST_RESTORABLE_TIME_FIELD_NUMBER
public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENABLED_TIME_FIELD_NUMBER
public static final int ENABLED_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ENCRYPTION_INFO_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContinuousBackupInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContinuousBackupInfo.Builder newBuilder()
newBuilder(ContinuousBackupInfo prototype)
public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input)
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContinuousBackupInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContinuousBackupInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(CodedInputStream input)
public static ContinuousBackupInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(InputStream input)
public static ContinuousBackupInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContinuousBackupInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContinuousBackupInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ContinuousBackupInfo getDefaultInstanceForType()
getEarliestRestorableTime()
public 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 |
| Type |
Description |
Timestamp |
The earliestRestorableTime.
|
getEarliestRestorableTimeOrBuilder()
public 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];
getEnabledTime()
public 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 |
| Type |
Description |
Timestamp |
The enabledTime.
|
getEnabledTimeOrBuilder()
public 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];
getEncryptionInfo()
public 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];
getEncryptionInfoOrBuilder()
public 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];
getParserForType()
public Parser<ContinuousBackupInfo> getParserForType()
Overrides
getSchedule(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
com.google.type.DayOfWeek |
The schedule at the given index.
|
getScheduleCount()
public 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 |
| Type |
Description |
int |
The count of schedule.
|
getScheduleList()
public List<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];
| Returns |
| Type |
Description |
List<com.google.type.DayOfWeek> |
A list containing the schedule.
|
getScheduleValue(int index)
public 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];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of schedule at the given index.
|
getScheduleValueList()
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];
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for schedule.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasEarliestRestorableTime()
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];
| Returns |
| Type |
Description |
boolean |
Whether the earliestRestorableTime field is set.
|
hasEnabledTime()
public 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 |
| Type |
Description |
boolean |
Whether the enabledTime field is set.
|
hasEncryptionInfo()
public 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 |
| Type |
Description |
boolean |
Whether the encryptionInfo field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContinuousBackupInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContinuousBackupInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ContinuousBackupInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides