Class ContinuousBackupInfo (0.44.0)

public final class ContinuousBackupInfo extends GeneratedMessageV3 implements ContinuousBackupInfoOrBuilder

ContinuousBackupInfo describes the continuous backup properties of a cluster.

Protobuf type google.cloud.alloydb.v1beta.ContinuousBackupInfo

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()
Returns
Type Description
ContinuousBackupInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ContinuousBackupInfo.Builder newBuilder()
Returns
Type Description
ContinuousBackupInfo.Builder

newBuilder(ContinuousBackupInfo prototype)

public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
Parameter
Name Description
prototype ContinuousBackupInfo
Returns
Type Description
ContinuousBackupInfo.Builder

parseDelimitedFrom(InputStream input)

public static ContinuousBackupInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ContinuousBackupInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContinuousBackupInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContinuousBackupInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ContinuousBackupInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ContinuousBackupInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContinuousBackupInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ContinuousBackupInfo> parser()
Returns
Type Description
Parser<ContinuousBackupInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ContinuousBackupInfo getDefaultInstanceForType()
Returns
Type Description
ContinuousBackupInfo

getEarliestRestorableTime()

public 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
Type Description
Timestamp

The earliestRestorableTime.

getEarliestRestorableTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
TimestampOrBuilder

getEncryptionInfo()

public 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
Type Description
EncryptionInfo

The encryptionInfo.

getEncryptionInfoOrBuilder()

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];

Returns
Type Description
EncryptionInfoOrBuilder

getParserForType()

public Parser<ContinuousBackupInfo> getParserForType()
Returns
Type Description
Parser<ContinuousBackupInfo>
Overrides

getSchedule(int index)

public 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];

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. Output only field. Ignored if passed into the request.

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. Output only field. Ignored if passed into the request.

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. Output only field. Ignored if passed into the request.

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. Output only field. Ignored if passed into the request.

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. Output only field.

.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.v1beta.EncryptionInfo encryption_info = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the encryptionInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ContinuousBackupInfo.Builder newBuilderForType()
Returns
Type Description
ContinuousBackupInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContinuousBackupInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ContinuousBackupInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ContinuousBackupInfo.Builder toBuilder()
Returns
Type Description
ContinuousBackupInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException