Class ContinuousBackupInfo (0.30.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
TypeDescription
int

ENABLED_TIME_FIELD_NUMBER

public static final int ENABLED_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

ENCRYPTION_INFO_FIELD_NUMBER

public static final int ENCRYPTION_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

SCHEDULE_FIELD_NUMBER

public static final int SCHEDULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContinuousBackupInfo getDefaultInstance()
Returns
TypeDescription
ContinuousBackupInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ContinuousBackupInfo.Builder newBuilder()
Returns
TypeDescription
ContinuousBackupInfo.Builder

newBuilder(ContinuousBackupInfo prototype)

public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
Parameter
NameDescription
prototypeContinuousBackupInfo
Returns
TypeDescription
ContinuousBackupInfo.Builder

parseDelimitedFrom(InputStream input)

public static ContinuousBackupInfo parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ContinuousBackupInfo parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ContinuousBackupInfo parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContinuousBackupInfo parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ContinuousBackupInfo parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ContinuousBackupInfo parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContinuousBackupInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContinuousBackupInfo
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ContinuousBackupInfo> parser()
Returns
TypeDescription
Parser<ContinuousBackupInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ContinuousBackupInfo getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
EncryptionInfoOrBuilder

getParserForType()

public Parser<ContinuousBackupInfo> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for schedule.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the encryptionInfo field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ContinuousBackupInfo.Builder newBuilderForType()
Returns
TypeDescription
ContinuousBackupInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ContinuousBackupInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ContinuousBackupInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ContinuousBackupInfo.Builder toBuilder()
Returns
TypeDescription
ContinuousBackupInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException