public final class ContinuousBackupInfo extends GeneratedMessageV3 implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a
cluster.
Protobuf type google.cloud.alloydb.v1alpha.ContinuousBackupInfo
Static Fields
ENABLED_TIME_FIELD_NUMBER
public static final int ENABLED_TIME_FIELD_NUMBER
Field Value
ENCRYPTION_INFO_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
Field Value
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ContinuousBackupInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ContinuousBackupInfo.Builder newBuilder()
Returns
newBuilder(ContinuousBackupInfo prototype)
public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
Parameter
Returns
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ContinuousBackupInfo parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ContinuousBackupInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousBackupInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContinuousBackupInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContinuousBackupInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ContinuousBackupInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContinuousBackupInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ContinuousBackupInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ContinuousBackupInfo getDefaultInstanceForType()
Returns
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
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
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];
Returns
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];
Returns
getParserForType()
public Parser<ContinuousBackupInfo> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ContinuousBackupInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContinuousBackupInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ContinuousBackupInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions