Package com.google.cloud.alloydb.v1
Class ContinuousBackupInfo
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.alloydb.v1.ContinuousBackupInfo
-
- All Implemented Interfaces:
ContinuousBackupInfoOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ContinuousBackupInfo extends com.google.protobuf.GeneratedMessageV3 implements ContinuousBackupInfoOrBuilder
ContinuousBackupInfo describes the continuous backup properties of a cluster.
Protobuf typegoogle.cloud.alloydb.v1.ContinuousBackupInfo
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContinuousBackupInfo.Builder
ContinuousBackupInfo describes the continuous backup properties of a cluster.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
EARLIEST_RESTORABLE_TIME_FIELD_NUMBER
static int
ENABLED_TIME_FIELD_NUMBER
static int
ENCRYPTION_INFO_FIELD_NUMBER
static int
SCHEDULE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static ContinuousBackupInfo
getDefaultInstance()
ContinuousBackupInfo
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getEarliestRestorableTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEarliestRestorableTimeOrBuilder()
Output only.com.google.protobuf.Timestamp
getEnabledTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEnabledTimeOrBuilder()
Output only.EncryptionInfo
getEncryptionInfo()
Output only.EncryptionInfoOrBuilder
getEncryptionInfoOrBuilder()
Output only.com.google.protobuf.Parser<ContinuousBackupInfo>
getParserForType()
com.google.type.DayOfWeek
getSchedule(int index)
Output only.int
getScheduleCount()
Output only.List<com.google.type.DayOfWeek>
getScheduleList()
Output only.int
getScheduleValue(int index)
Output only.List<Integer>
getScheduleValueList()
Output only.int
getSerializedSize()
boolean
hasEarliestRestorableTime()
Output only.boolean
hasEnabledTime()
Output only.boolean
hasEncryptionInfo()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ContinuousBackupInfo.Builder
newBuilder()
static ContinuousBackupInfo.Builder
newBuilder(ContinuousBackupInfo prototype)
ContinuousBackupInfo.Builder
newBuilderForType()
protected ContinuousBackupInfo.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ContinuousBackupInfo
parseDelimitedFrom(InputStream input)
static ContinuousBackupInfo
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ContinuousBackupInfo
parseFrom(byte[] data)
static ContinuousBackupInfo
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ContinuousBackupInfo
parseFrom(com.google.protobuf.ByteString data)
static ContinuousBackupInfo
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ContinuousBackupInfo
parseFrom(com.google.protobuf.CodedInputStream input)
static ContinuousBackupInfo
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ContinuousBackupInfo
parseFrom(InputStream input)
static ContinuousBackupInfo
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ContinuousBackupInfo
parseFrom(ByteBuffer data)
static ContinuousBackupInfo
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ContinuousBackupInfo>
parser()
ContinuousBackupInfo.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENCRYPTION_INFO_FIELD_NUMBER
public static final int ENCRYPTION_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLED_TIME_FIELD_NUMBER
public static final int ENABLED_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEDULE_FIELD_NUMBER
public static final int SCHEDULE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EARLIEST_RESTORABLE_TIME_FIELD_NUMBER
public static final int EARLIEST_RESTORABLE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
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];
- Specified by:
hasEncryptionInfo
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- Whether the encryptionInfo field is set.
-
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];
- Specified by:
getEncryptionInfo
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- The encryptionInfo.
-
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];
- Specified by:
getEncryptionInfoOrBuilder
in interfaceContinuousBackupInfoOrBuilder
-
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];
- Specified by:
hasEnabledTime
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- Whether the enabledTime field is set.
-
getEnabledTime
public com.google.protobuf.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];
- Specified by:
getEnabledTime
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- The enabledTime.
-
getEnabledTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getEnabledTimeOrBuilder
in interfaceContinuousBackupInfoOrBuilder
-
getScheduleList
public List<com.google.type.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];
- Specified by:
getScheduleList
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- A list containing the schedule.
-
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];
- Specified by:
getScheduleCount
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- The count of schedule.
-
getSchedule
public com.google.type.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];
- Specified by:
getSchedule
in interfaceContinuousBackupInfoOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The 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];
- Specified by:
getScheduleValueList
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for schedule.
-
getScheduleValue
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];
- Specified by:
getScheduleValue
in interfaceContinuousBackupInfoOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of schedule at the given index.
-
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];
- Specified by:
hasEarliestRestorableTime
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- Whether the earliestRestorableTime field is set.
-
getEarliestRestorableTime
public com.google.protobuf.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];
- Specified by:
getEarliestRestorableTime
in interfaceContinuousBackupInfoOrBuilder
- Returns:
- The earliestRestorableTime.
-
getEarliestRestorableTimeOrBuilder
public com.google.protobuf.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];
- Specified by:
getEarliestRestorableTimeOrBuilder
in interfaceContinuousBackupInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ContinuousBackupInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContinuousBackupInfo parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ContinuousBackupInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ContinuousBackupInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ContinuousBackupInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ContinuousBackupInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ContinuousBackupInfo.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ContinuousBackupInfo.Builder newBuilder()
-
newBuilder
public static ContinuousBackupInfo.Builder newBuilder(ContinuousBackupInfo prototype)
-
toBuilder
public ContinuousBackupInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ContinuousBackupInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ContinuousBackupInfo getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ContinuousBackupInfo> parser()
-
getParserForType
public com.google.protobuf.Parser<ContinuousBackupInfo> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ContinuousBackupInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-