Class AutonomousDatabaseBackupProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
com.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Builder
- All Implemented Interfaces:
AutonomousDatabaseBackupPropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AutonomousDatabaseBackupProperties
public static final class AutonomousDatabaseBackupProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
implements AutonomousDatabaseBackupPropertiesOrBuilder
Properties of the Autonomous Database Backup resource.Protobuf type
google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.Output only.Output only.Output only.Output only.Output only.Optional.Optional.Optional.Optional.Output only.Output only.Output only.Optional.Output only.Output only.Output only.Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.com.google.protobuf.ByteStringOutput only.floatOutput only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.getOcid()Output only.com.google.protobuf.ByteStringOutput only.intOptional.floatOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getType()Output only.intOutput only.Optional.com.google.protobuf.ByteStringOptional.booleanOutput only.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeAvailableTillTime(com.google.protobuf.Timestamp value) Output only.mergeEndTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Output only.setAvailableTillTime(com.google.protobuf.Timestamp value) Output only.setAvailableTillTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setCompartmentId(String value) Output only.setCompartmentIdBytes(com.google.protobuf.ByteString value) Output only.setDatabaseSizeTb(float value) Output only.setDbVersion(String value) Output only.setDbVersionBytes(com.google.protobuf.ByteString value) Output only.setEndTime(com.google.protobuf.Timestamp value) Output only.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setIsAutomaticBackup(boolean value) Output only.setIsLongTermBackup(boolean value) Output only.setIsRestorable(boolean value) Output only.setKeyStoreId(String value) Optional.setKeyStoreIdBytes(com.google.protobuf.ByteString value) Optional.setKeyStoreWallet(String value) Optional.setKeyStoreWalletBytes(com.google.protobuf.ByteString value) Optional.setKmsKeyId(String value) Optional.setKmsKeyIdBytes(com.google.protobuf.ByteString value) Optional.setKmsKeyVersionId(String value) Optional.setKmsKeyVersionIdBytes(com.google.protobuf.ByteString value) Optional.setLifecycleDetails(String value) Output only.setLifecycleDetailsBytes(com.google.protobuf.ByteString value) Output only.Output only.setLifecycleStateValue(int value) Output only.Output only.setOcidBytes(com.google.protobuf.ByteString value) Output only.setRetentionPeriodDays(int value) Optional.setSizeTb(float value) Output only.setStartTime(com.google.protobuf.Timestamp value) Output only.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Output only.setTypeValue(int value) Output only.setVaultId(String value) Optional.setVaultIdBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<AutonomousDatabaseBackupProperties.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
-
mergeFrom
public AutonomousDatabaseBackupProperties.Builder mergeFrom(AutonomousDatabaseBackupProperties other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
-
mergeFrom
public AutonomousDatabaseBackupProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AutonomousDatabaseBackupProperties.Builder>- Throws:
IOException
-
getOcid
Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The ocid.
-
getOcidBytes
public com.google.protobuf.ByteString getOcidBytes()Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getOcidBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for ocid.
-
setOcid
Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The ocid to set.- Returns:
- This builder for chaining.
-
clearOcid
Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setOcidBytes
public AutonomousDatabaseBackupProperties.Builder setOcidBytes(com.google.protobuf.ByteString value) Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for ocid to set.- Returns:
- This builder for chaining.
-
getRetentionPeriodDays
public int getRetentionPeriodDays()Optional. Retention period in days for the backup.
int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRetentionPeriodDaysin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The retentionPeriodDays.
-
setRetentionPeriodDays
Optional. Retention period in days for the backup.
int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The retentionPeriodDays to set.- Returns:
- This builder for chaining.
-
clearRetentionPeriodDays
Optional. Retention period in days for the backup.
int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getCompartmentId
Output only. The OCID of the compartment.
string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompartmentIdin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The compartmentId.
-
getCompartmentIdBytes
public com.google.protobuf.ByteString getCompartmentIdBytes()Output only. The OCID of the compartment.
string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCompartmentIdBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for compartmentId.
-
setCompartmentId
Output only. The OCID of the compartment.
string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The compartmentId to set.- Returns:
- This builder for chaining.
-
clearCompartmentId
Output only. The OCID of the compartment.
string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setCompartmentIdBytes
public AutonomousDatabaseBackupProperties.Builder setCompartmentIdBytes(com.google.protobuf.ByteString value) Output only. The OCID of the compartment.
string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for compartmentId to set.- Returns:
- This builder for chaining.
-
getDatabaseSizeTb
public float getDatabaseSizeTb()Output only. The quantity of data in the database, in terabytes.
float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDatabaseSizeTbin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The databaseSizeTb.
-
setDatabaseSizeTb
Output only. The quantity of data in the database, in terabytes.
float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The databaseSizeTb to set.- Returns:
- This builder for chaining.
-
clearDatabaseSizeTb
Output only. The quantity of data in the database, in terabytes.
float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDbVersion
Output only. A valid Oracle Database version for Autonomous Database.
string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDbVersionin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The dbVersion.
-
getDbVersionBytes
public com.google.protobuf.ByteString getDbVersionBytes()Output only. A valid Oracle Database version for Autonomous Database.
string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDbVersionBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for dbVersion.
-
setDbVersion
Output only. A valid Oracle Database version for Autonomous Database.
string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The dbVersion to set.- Returns:
- This builder for chaining.
-
clearDbVersion
Output only. A valid Oracle Database version for Autonomous Database.
string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDbVersionBytes
public AutonomousDatabaseBackupProperties.Builder setDbVersionBytes(com.google.protobuf.ByteString value) Output only. A valid Oracle Database version for Autonomous Database.
string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for dbVersion to set.- Returns:
- This builder for chaining.
-
getIsLongTermBackup
public boolean getIsLongTermBackup()Output only. Indicates if the backup is long term backup.
bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsLongTermBackupin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The isLongTermBackup.
-
setIsLongTermBackup
Output only. Indicates if the backup is long term backup.
bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The isLongTermBackup to set.- Returns:
- This builder for chaining.
-
clearIsLongTermBackup
Output only. Indicates if the backup is long term backup.
bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getIsAutomaticBackup
public boolean getIsAutomaticBackup()Output only. Indicates if the backup is automatic or user initiated.
bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsAutomaticBackupin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The isAutomaticBackup.
-
setIsAutomaticBackup
Output only. Indicates if the backup is automatic or user initiated.
bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The isAutomaticBackup to set.- Returns:
- This builder for chaining.
-
clearIsAutomaticBackup
Output only. Indicates if the backup is automatic or user initiated.
bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getIsRestorable
public boolean getIsRestorable()Output only. Indicates if the backup can be used to restore the Autonomous Database.
bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIsRestorablein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The isRestorable.
-
setIsRestorable
Output only. Indicates if the backup can be used to restore the Autonomous Database.
bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The isRestorable to set.- Returns:
- This builder for chaining.
-
clearIsRestorable
Output only. Indicates if the backup can be used to restore the Autonomous Database.
bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getKeyStoreId
Optional. The OCID of the key store of Oracle Vault.
string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyStoreIdin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The keyStoreId.
-
getKeyStoreIdBytes
public com.google.protobuf.ByteString getKeyStoreIdBytes()Optional. The OCID of the key store of Oracle Vault.
string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyStoreIdBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for keyStoreId.
-
setKeyStoreId
Optional. The OCID of the key store of Oracle Vault.
string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The keyStoreId to set.- Returns:
- This builder for chaining.
-
clearKeyStoreId
Optional. The OCID of the key store of Oracle Vault.
string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setKeyStoreIdBytes
public AutonomousDatabaseBackupProperties.Builder setKeyStoreIdBytes(com.google.protobuf.ByteString value) Optional. The OCID of the key store of Oracle Vault.
string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for keyStoreId to set.- Returns:
- This builder for chaining.
-
getKeyStoreWallet
Optional. The wallet name for Oracle Key Vault.
string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyStoreWalletin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The keyStoreWallet.
-
getKeyStoreWalletBytes
public com.google.protobuf.ByteString getKeyStoreWalletBytes()Optional. The wallet name for Oracle Key Vault.
string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKeyStoreWalletBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for keyStoreWallet.
-
setKeyStoreWallet
Optional. The wallet name for Oracle Key Vault.
string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The keyStoreWallet to set.- Returns:
- This builder for chaining.
-
clearKeyStoreWallet
Optional. The wallet name for Oracle Key Vault.
string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setKeyStoreWalletBytes
public AutonomousDatabaseBackupProperties.Builder setKeyStoreWalletBytes(com.google.protobuf.ByteString value) Optional. The wallet name for Oracle Key Vault.
string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for keyStoreWallet to set.- Returns:
- This builder for chaining.
-
getKmsKeyId
Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKmsKeyIdin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The kmsKeyId.
-
getKmsKeyIdBytes
public com.google.protobuf.ByteString getKmsKeyIdBytes()Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKmsKeyIdBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for kmsKeyId.
-
setKmsKeyId
Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The kmsKeyId to set.- Returns:
- This builder for chaining.
-
clearKmsKeyId
Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setKmsKeyIdBytes
public AutonomousDatabaseBackupProperties.Builder setKmsKeyIdBytes(com.google.protobuf.ByteString value) Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for kmsKeyId to set.- Returns:
- This builder for chaining.
-
getKmsKeyVersionId
Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKmsKeyVersionIdin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The kmsKeyVersionId.
-
getKmsKeyVersionIdBytes
public com.google.protobuf.ByteString getKmsKeyVersionIdBytes()Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getKmsKeyVersionIdBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for kmsKeyVersionId.
-
setKmsKeyVersionId
Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The kmsKeyVersionId to set.- Returns:
- This builder for chaining.
-
clearKmsKeyVersionId
Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setKmsKeyVersionIdBytes
public AutonomousDatabaseBackupProperties.Builder setKmsKeyVersionIdBytes(com.google.protobuf.ByteString value) Optional. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.
string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for kmsKeyVersionId to set.- Returns:
- This builder for chaining.
-
getLifecycleDetails
Output only. Additional information about the current lifecycle state.
string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLifecycleDetailsin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The lifecycleDetails.
-
getLifecycleDetailsBytes
public com.google.protobuf.ByteString getLifecycleDetailsBytes()Output only. Additional information about the current lifecycle state.
string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLifecycleDetailsBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for lifecycleDetails.
-
setLifecycleDetails
Output only. Additional information about the current lifecycle state.
string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lifecycleDetails to set.- Returns:
- This builder for chaining.
-
clearLifecycleDetails
Output only. Additional information about the current lifecycle state.
string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLifecycleDetailsBytes
public AutonomousDatabaseBackupProperties.Builder setLifecycleDetailsBytes(com.google.protobuf.ByteString value) Output only. Additional information about the current lifecycle state.
string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for lifecycleDetails to set.- Returns:
- This builder for chaining.
-
getLifecycleStateValue
public int getLifecycleStateValue()Output only. The lifecycle state of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLifecycleStateValuein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The enum numeric value on the wire for lifecycleState.
-
setLifecycleStateValue
Output only. The lifecycle state of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for lifecycleState to set.- Returns:
- This builder for chaining.
-
getLifecycleState
Output only. The lifecycle state of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLifecycleStatein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The lifecycleState.
-
setLifecycleState
public AutonomousDatabaseBackupProperties.Builder setLifecycleState(AutonomousDatabaseBackupProperties.State value) Output only. The lifecycle state of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The lifecycleState to set.- Returns:
- This builder for chaining.
-
clearLifecycleState
Output only. The lifecycle state of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getSizeTb
public float getSizeTb()Output only. The backup size in terabytes.
float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSizeTbin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The sizeTb.
-
setSizeTb
Output only. The backup size in terabytes.
float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The sizeTb to set.- Returns:
- This builder for chaining.
-
clearSizeTb
Output only. The backup size in terabytes.
float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
hasAvailableTillTime
public boolean hasAvailableTillTime()Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvailableTillTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- Whether the availableTillTime field is set.
-
getAvailableTillTime
public com.google.protobuf.Timestamp getAvailableTillTime()Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailableTillTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The availableTillTime.
-
setAvailableTillTime
public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(com.google.protobuf.Timestamp value) Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAvailableTillTime
public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAvailableTillTime
public AutonomousDatabaseBackupProperties.Builder mergeAvailableTillTime(com.google.protobuf.Timestamp value) Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAvailableTillTime
Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvailableTillTimeBuilder
public com.google.protobuf.Timestamp.Builder getAvailableTillTimeBuilder()Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvailableTillTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getAvailableTillTimeOrBuilder()Output only. Timestamp until when the backup will be available.
.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvailableTillTimeOrBuilderin interfaceAutonomousDatabaseBackupPropertiesOrBuilder
-
hasEndTime
public boolean hasEndTime()Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The endTime.
-
setEndTime
Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setEndTime
public AutonomousDatabaseBackupProperties.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeEndTime
Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearEndTime
Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()Output only. The date and time the backup completed.
.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceAutonomousDatabaseBackupPropertiesOrBuilder
-
hasStartTime
public boolean hasStartTime()Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStartTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The startTime.
-
setStartTime
Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setStartTime
public AutonomousDatabaseBackupProperties.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeStartTime
public AutonomousDatabaseBackupProperties.Builder mergeStartTime(com.google.protobuf.Timestamp value) Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearStartTime
Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Output only. The date and time the backup started.
.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStartTimeOrBuilderin interfaceAutonomousDatabaseBackupPropertiesOrBuilder
-
getTypeValue
public int getTypeValue()Output only. The type of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypeValuein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Output only. The type of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Output only. The type of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTypein interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The type.
-
setType
public AutonomousDatabaseBackupProperties.Builder setType(AutonomousDatabaseBackupProperties.Type value) Output only. The type of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. The type of the backup.
.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getVaultId
Optional. The OCID of the vault.
string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVaultIdin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The vaultId.
-
getVaultIdBytes
public com.google.protobuf.ByteString getVaultIdBytes()Optional. The OCID of the vault.
string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVaultIdBytesin interfaceAutonomousDatabaseBackupPropertiesOrBuilder- Returns:
- The bytes for vaultId.
-
setVaultId
Optional. The OCID of the vault.
string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The vaultId to set.- Returns:
- This builder for chaining.
-
clearVaultId
Optional. The OCID of the vault.
string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setVaultIdBytes
public AutonomousDatabaseBackupProperties.Builder setVaultIdBytes(com.google.protobuf.ByteString value) Optional. The OCID of the vault.
string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for vaultId to set.- Returns:
- This builder for chaining.
-