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 classContinuousBackupInfo.BuilderContinuousBackupInfo 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 intEARLIEST_RESTORABLE_TIME_FIELD_NUMBERstatic intENABLED_TIME_FIELD_NUMBERstatic intENCRYPTION_INFO_FIELD_NUMBERstatic intSCHEDULE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static ContinuousBackupInfogetDefaultInstance()ContinuousBackupInfogetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEarliestRestorableTime()Output only.com.google.protobuf.TimestampOrBuildergetEarliestRestorableTimeOrBuilder()Output only.com.google.protobuf.TimestampgetEnabledTime()Output only.com.google.protobuf.TimestampOrBuildergetEnabledTimeOrBuilder()Output only.EncryptionInfogetEncryptionInfo()Output only.EncryptionInfoOrBuildergetEncryptionInfoOrBuilder()Output only.com.google.protobuf.Parser<ContinuousBackupInfo>getParserForType()com.google.type.DayOfWeekgetSchedule(int index)Output only.intgetScheduleCount()Output only.List<com.google.type.DayOfWeek>getScheduleList()Output only.intgetScheduleValue(int index)Output only.List<Integer>getScheduleValueList()Output only.intgetSerializedSize()booleanhasEarliestRestorableTime()Output only.booleanhasEnabledTime()Output only.booleanhasEncryptionInfo()Output only.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ContinuousBackupInfo.BuildernewBuilder()static ContinuousBackupInfo.BuildernewBuilder(ContinuousBackupInfo prototype)ContinuousBackupInfo.BuildernewBuilderForType()protected ContinuousBackupInfo.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ContinuousBackupInfoparseDelimitedFrom(InputStream input)static ContinuousBackupInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ContinuousBackupInfoparseFrom(byte[] data)static ContinuousBackupInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ContinuousBackupInfoparseFrom(com.google.protobuf.ByteString data)static ContinuousBackupInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ContinuousBackupInfoparseFrom(com.google.protobuf.CodedInputStream input)static ContinuousBackupInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ContinuousBackupInfoparseFrom(InputStream input)static ContinuousBackupInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ContinuousBackupInfoparseFrom(ByteBuffer data)static ContinuousBackupInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ContinuousBackupInfo>parser()ContinuousBackupInfo.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
hasEncryptionInfoin 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:
getEncryptionInfoin 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:
getEncryptionInfoOrBuilderin 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:
hasEnabledTimein 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:
getEnabledTimein 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:
getEnabledTimeOrBuilderin 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:
getScheduleListin 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:
getScheduleCountin 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:
getSchedulein 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:
getScheduleValueListin 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:
getScheduleValuein 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:
hasEarliestRestorableTimein 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:
getEarliestRestorableTimein 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:
getEarliestRestorableTimeOrBuilderin interfaceContinuousBackupInfoOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ContinuousBackupInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ContinuousBackupInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-