public final class ContinuousBackupInfo extends GeneratedMessageV3 implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a
cluster.
Protobuf type google.cloud.alloydb.v1.ContinuousBackupInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
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. 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];
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.v1.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.v1.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. 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.v1.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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContinuousBackupInfo.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ContinuousBackupInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides