Class DbBackupConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.DbBackupConfig
- All Implemented Interfaces:
DbBackupConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DbBackupConfig
extends com.google.protobuf.GeneratedMessage
implements DbBackupConfigOrBuilder
Backup Options for the Database.Protobuf type
google.cloud.oracledatabase.v1.DbBackupConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis defines when the backups will be deleted after Database termination.static final classThe details of the database backup destination.static interfacestatic enumThe type of the database backup destination.static enumThe 2 hour window in which the backup should be performed on the database.static final classBackup Options for the Database.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanOptional.Optional.intOptional.Optional.intOptional.Optional.intOptional.Optional.intOptional.getBackupDestinationDetails(int index) Optional.intOptional.Optional.getBackupDestinationDetailsOrBuilder(int index) Optional.Optional.static DbBackupConfigstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<DbBackupConfig>intOptional.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DbBackupConfig.Builderstatic DbBackupConfig.BuildernewBuilder(DbBackupConfig prototype) protected DbBackupConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DbBackupConfigparseDelimitedFrom(InputStream input) static DbBackupConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DbBackupConfigparseFrom(byte[] data) static DbBackupConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DbBackupConfigparseFrom(com.google.protobuf.ByteString data) static DbBackupConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DbBackupConfigparseFrom(com.google.protobuf.CodedInputStream input) static DbBackupConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DbBackupConfigparseFrom(InputStream input) static DbBackupConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DbBackupConfigparseFrom(ByteBuffer data) static DbBackupConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DbBackupConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AUTO_BACKUP_ENABLED_FIELD_NUMBER
public static final int AUTO_BACKUP_ENABLED_FIELD_NUMBER- See Also:
-
BACKUP_DESTINATION_DETAILS_FIELD_NUMBER
public static final int BACKUP_DESTINATION_DETAILS_FIELD_NUMBER- See Also:
-
RETENTION_PERIOD_DAYS_FIELD_NUMBER
public static final int RETENTION_PERIOD_DAYS_FIELD_NUMBER- See Also:
-
BACKUP_DELETION_POLICY_FIELD_NUMBER
public static final int BACKUP_DELETION_POLICY_FIELD_NUMBER- See Also:
-
AUTO_FULL_BACKUP_DAY_FIELD_NUMBER
public static final int AUTO_FULL_BACKUP_DAY_FIELD_NUMBER- See Also:
-
AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER
public static final int AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER- See Also:
-
AUTO_INCREMENTAL_BACKUP_WINDOW_FIELD_NUMBER
public static final int AUTO_INCREMENTAL_BACKUP_WINDOW_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAutoBackupEnabled
public boolean getAutoBackupEnabled()Optional. If set to true, enables automatic backups on the database.
bool auto_backup_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoBackupEnabledin interfaceDbBackupConfigOrBuilder- Returns:
- The autoBackupEnabled.
-
getBackupDestinationDetailsList
Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDestinationDetailsListin interfaceDbBackupConfigOrBuilder
-
getBackupDestinationDetailsOrBuilderList
public List<? extends DbBackupConfig.BackupDestinationDetailsOrBuilder> getBackupDestinationDetailsOrBuilderList()Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDestinationDetailsOrBuilderListin interfaceDbBackupConfigOrBuilder
-
getBackupDestinationDetailsCount
public int getBackupDestinationDetailsCount()Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDestinationDetailsCountin interfaceDbBackupConfigOrBuilder
-
getBackupDestinationDetails
Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDestinationDetailsin interfaceDbBackupConfigOrBuilder
-
getBackupDestinationDetailsOrBuilder
public DbBackupConfig.BackupDestinationDetailsOrBuilder getBackupDestinationDetailsOrBuilder(int index) Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDestinationDetailsOrBuilderin interfaceDbBackupConfigOrBuilder
-
getRetentionPeriodDays
public int getRetentionPeriodDays()Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
int32 retention_period_days = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionPeriodDaysin interfaceDbBackupConfigOrBuilder- Returns:
- The retentionPeriodDays.
-
getBackupDeletionPolicyValue
public int getBackupDeletionPolicyValue()Optional. This defines when the backups will be deleted after Database termination.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupDeletionPolicy backup_deletion_policy = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDeletionPolicyValuein interfaceDbBackupConfigOrBuilder- Returns:
- The enum numeric value on the wire for backupDeletionPolicy.
-
getBackupDeletionPolicy
Optional. This defines when the backups will be deleted after Database termination.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupDeletionPolicy backup_deletion_policy = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getBackupDeletionPolicyin interfaceDbBackupConfigOrBuilder- Returns:
- The backupDeletionPolicy.
-
getAutoFullBackupDayValue
public int getAutoFullBackupDayValue()Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.
.google.type.DayOfWeek auto_full_backup_day = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoFullBackupDayValuein interfaceDbBackupConfigOrBuilder- Returns:
- The enum numeric value on the wire for autoFullBackupDay.
-
getAutoFullBackupDay
Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.
.google.type.DayOfWeek auto_full_backup_day = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoFullBackupDayin interfaceDbBackupConfigOrBuilder- Returns:
- The autoFullBackupDay.
-
getAutoFullBackupWindowValue
public int getAutoFullBackupWindowValue()Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_full_backup_window = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoFullBackupWindowValuein interfaceDbBackupConfigOrBuilder- Returns:
- The enum numeric value on the wire for autoFullBackupWindow.
-
getAutoFullBackupWindow
Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_full_backup_window = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoFullBackupWindowin interfaceDbBackupConfigOrBuilder- Returns:
- The autoFullBackupWindow.
-
getAutoIncrementalBackupWindowValue
public int getAutoIncrementalBackupWindowValue()Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_incremental_backup_window = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoIncrementalBackupWindowValuein interfaceDbBackupConfigOrBuilder- Returns:
- The enum numeric value on the wire for autoIncrementalBackupWindow.
-
getAutoIncrementalBackupWindow
Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.
.google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_incremental_backup_window = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAutoIncrementalBackupWindowin interfaceDbBackupConfigOrBuilder- Returns:
- The autoIncrementalBackupWindow.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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 DbBackupConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DbBackupConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DbBackupConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DbBackupConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DbBackupConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DbBackupConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DbBackupConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DbBackupConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DbBackupConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DbBackupConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DbBackupConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-