Class AutonomousDatabaseBackupProperties.Builder (0.1.0)

public static final class AutonomousDatabaseBackupProperties.Builder extends GeneratedMessageV3.Builder<AutonomousDatabaseBackupProperties.Builder> implements AutonomousDatabaseBackupPropertiesOrBuilder

Properties of the Autonomous Database Backup resource.

Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AutonomousDatabaseBackupProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

build()

public AutonomousDatabaseBackupProperties build()
Returns
Type Description
AutonomousDatabaseBackupProperties

buildPartial()

public AutonomousDatabaseBackupProperties buildPartial()
Returns
Type Description
AutonomousDatabaseBackupProperties

clear()

public AutonomousDatabaseBackupProperties.Builder clear()
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

clearAvailableTillTime()

public AutonomousDatabaseBackupProperties.Builder clearAvailableTillTime()

Output only. Timestamp until when the backup will be available.

.google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

clearCompartmentId()

public AutonomousDatabaseBackupProperties.Builder clearCompartmentId()

Output only. The OCID of the compartment.

string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearDatabaseSizeTb()

public AutonomousDatabaseBackupProperties.Builder clearDatabaseSizeTb()

Output only. The quantity of data in the database, in terabytes.

float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearDbVersion()

public AutonomousDatabaseBackupProperties.Builder clearDbVersion()

Output only. A valid Oracle Database version for Autonomous Database.

string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearEndTime()

public AutonomousDatabaseBackupProperties.Builder clearEndTime()

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

clearField(Descriptors.FieldDescriptor field)

public AutonomousDatabaseBackupProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

clearIsAutomaticBackup()

public AutonomousDatabaseBackupProperties.Builder clearIsAutomaticBackup()

Output only. Indicates if the backup is automatic or user initiated.

bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearIsLongTermBackup()

public AutonomousDatabaseBackupProperties.Builder clearIsLongTermBackup()

Output only. Indicates if the backup is long term backup.

bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearIsRestorable()

public AutonomousDatabaseBackupProperties.Builder 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
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearKeyStoreId()

public AutonomousDatabaseBackupProperties.Builder clearKeyStoreId()

Optional. The OCID of the key store of Oracle Vault.

string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearKeyStoreWallet()

public AutonomousDatabaseBackupProperties.Builder clearKeyStoreWallet()

Optional. The wallet name for Oracle Key Vault.

string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearKmsKeyId()

public AutonomousDatabaseBackupProperties.Builder 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
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearKmsKeyVersionId()

public AutonomousDatabaseBackupProperties.Builder 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
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearLifecycleDetails()

public AutonomousDatabaseBackupProperties.Builder clearLifecycleDetails()

Output only. Additional information about the current lifecycle state.

string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearLifecycleState()

public AutonomousDatabaseBackupProperties.Builder 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
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearOcid()

public AutonomousDatabaseBackupProperties.Builder 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
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AutonomousDatabaseBackupProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

clearRetentionPeriodDays()

public AutonomousDatabaseBackupProperties.Builder clearRetentionPeriodDays()

Optional. Retention period in days for the backup.

int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearSizeTb()

public AutonomousDatabaseBackupProperties.Builder clearSizeTb()

Output only. The backup size in terabytes.

float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearStartTime()

public AutonomousDatabaseBackupProperties.Builder clearStartTime()

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

clearType()

public AutonomousDatabaseBackupProperties.Builder clearType()

Output only. The type of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clearVaultId()

public AutonomousDatabaseBackupProperties.Builder clearVaultId()

Optional. The OCID of the vault.

string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

clone()

public AutonomousDatabaseBackupProperties.Builder clone()
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

getAvailableTillTime()

public 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];

Returns
Type Description
Timestamp

The availableTillTime.

getAvailableTillTimeBuilder()

public 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];

Returns
Type Description
Builder

getAvailableTillTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

getCompartmentId()

public String getCompartmentId()

Output only. The OCID of the compartment.

string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The compartmentId.

getCompartmentIdBytes()

public ByteString getCompartmentIdBytes()

Output only. The OCID of the compartment.

string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for compartmentId.

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];

Returns
Type Description
float

The databaseSizeTb.

getDbVersion()

public String getDbVersion()

Output only. A valid Oracle Database version for Autonomous Database.

string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The dbVersion.

getDbVersionBytes()

public ByteString getDbVersionBytes()

Output only. A valid Oracle Database version for Autonomous Database.

string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for dbVersion.

getDefaultInstanceForType()

public AutonomousDatabaseBackupProperties getDefaultInstanceForType()
Returns
Type Description
AutonomousDatabaseBackupProperties

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
boolean

The isAutomaticBackup.

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];

Returns
Type Description
boolean

The isLongTermBackup.

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];

Returns
Type Description
boolean

The isRestorable.

getKeyStoreId()

public String getKeyStoreId()

Optional. The OCID of the key store of Oracle Vault.

string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keyStoreId.

getKeyStoreIdBytes()

public ByteString getKeyStoreIdBytes()

Optional. The OCID of the key store of Oracle Vault.

string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keyStoreId.

getKeyStoreWallet()

public String getKeyStoreWallet()

Optional. The wallet name for Oracle Key Vault.

string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The keyStoreWallet.

getKeyStoreWalletBytes()

public ByteString getKeyStoreWalletBytes()

Optional. The wallet name for Oracle Key Vault.

string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for keyStoreWallet.

getKmsKeyId()

public String 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];

Returns
Type Description
String

The kmsKeyId.

getKmsKeyIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for kmsKeyId.

getKmsKeyVersionId()

public String 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];

Returns
Type Description
String

The kmsKeyVersionId.

getKmsKeyVersionIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for kmsKeyVersionId.

getLifecycleDetails()

public String getLifecycleDetails()

Output only. Additional information about the current lifecycle state.

string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The lifecycleDetails.

getLifecycleDetailsBytes()

public ByteString getLifecycleDetailsBytes()

Output only. Additional information about the current lifecycle state.

string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for lifecycleDetails.

getLifecycleState()

public AutonomousDatabaseBackupProperties.State getLifecycleState()

Output only. The lifecycle state of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.State

The lifecycleState.

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];

Returns
Type Description
int

The enum numeric value on the wire for lifecycleState.

getOcid()

public String 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];

Returns
Type Description
String

The ocid.

getOcidBytes()

public 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];

Returns
Type Description
ByteString

The bytes for ocid.

getRetentionPeriodDays()

public int getRetentionPeriodDays()

Optional. Retention period in days for the backup.

int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The retentionPeriodDays.

getSizeTb()

public float getSizeTb()

Output only. The backup size in terabytes.

float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The sizeTb.

getStartTime()

public Timestamp getStartTime()

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getType()

public AutonomousDatabaseBackupProperties.Type getType()

Output only. The type of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutonomousDatabaseBackupProperties.Type

The type.

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];

Returns
Type Description
int

The enum numeric value on the wire for type.

getVaultId()

public String getVaultId()

Optional. The OCID of the vault.

string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The vaultId.

getVaultIdBytes()

public ByteString getVaultIdBytes()

Optional. The OCID of the vault.

string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for vaultId.

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];

Returns
Type Description
boolean

Whether the availableTillTime field is set.

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];

Returns
Type Description
boolean

Whether the endTime field is set.

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];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAvailableTillTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder mergeAvailableTillTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

mergeEndTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder mergeEndTime(Timestamp value)

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

mergeFrom(AutonomousDatabaseBackupProperties other)

public AutonomousDatabaseBackupProperties.Builder mergeFrom(AutonomousDatabaseBackupProperties other)
Parameter
Name Description
other AutonomousDatabaseBackupProperties
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AutonomousDatabaseBackupProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AutonomousDatabaseBackupProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

mergeStartTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder mergeStartTime(Timestamp value)

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AutonomousDatabaseBackupProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

setAvailableTillTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(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];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setAvailableTillTime(Timestamp.Builder builderForValue)

public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(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];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setCompartmentId(String value)

public AutonomousDatabaseBackupProperties.Builder setCompartmentId(String value)

Output only. The OCID of the compartment.

string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The compartmentId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setCompartmentIdBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setCompartmentIdBytes(ByteString value)

Output only. The OCID of the compartment.

string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for compartmentId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setDatabaseSizeTb(float value)

public AutonomousDatabaseBackupProperties.Builder setDatabaseSizeTb(float value)

Output only. The quantity of data in the database, in terabytes.

float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value float

The databaseSizeTb to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setDbVersion(String value)

public AutonomousDatabaseBackupProperties.Builder setDbVersion(String value)

Output only. A valid Oracle Database version for Autonomous Database.

string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The dbVersion to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setDbVersionBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setDbVersionBytes(ByteString value)

Output only. A valid Oracle Database version for Autonomous Database.

string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for dbVersion to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setEndTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder setEndTime(Timestamp value)

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setEndTime(Timestamp.Builder builderForValue)

public AutonomousDatabaseBackupProperties.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. The date and time the backup completed.

.google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AutonomousDatabaseBackupProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

setIsAutomaticBackup(boolean value)

public AutonomousDatabaseBackupProperties.Builder setIsAutomaticBackup(boolean value)

Output only. Indicates if the backup is automatic or user initiated.

bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isAutomaticBackup to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setIsLongTermBackup(boolean value)

public AutonomousDatabaseBackupProperties.Builder setIsLongTermBackup(boolean value)

Output only. Indicates if the backup is long term backup.

bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isLongTermBackup to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setIsRestorable(boolean value)

public AutonomousDatabaseBackupProperties.Builder setIsRestorable(boolean value)

Output only. Indicates if the backup can be used to restore the Autonomous Database.

bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The isRestorable to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKeyStoreId(String value)

public AutonomousDatabaseBackupProperties.Builder setKeyStoreId(String value)

Optional. The OCID of the key store of Oracle Vault.

string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keyStoreId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKeyStoreIdBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setKeyStoreIdBytes(ByteString value)

Optional. The OCID of the key store of Oracle Vault.

string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for keyStoreId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKeyStoreWallet(String value)

public AutonomousDatabaseBackupProperties.Builder setKeyStoreWallet(String value)

Optional. The wallet name for Oracle Key Vault.

string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The keyStoreWallet to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKeyStoreWalletBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setKeyStoreWalletBytes(ByteString value)

Optional. The wallet name for Oracle Key Vault.

string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for keyStoreWallet to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKmsKeyId(String value)

public AutonomousDatabaseBackupProperties.Builder setKmsKeyId(String 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];

Parameter
Name Description
value String

The kmsKeyId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKmsKeyIdBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setKmsKeyIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for kmsKeyId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKmsKeyVersionId(String value)

public AutonomousDatabaseBackupProperties.Builder setKmsKeyVersionId(String 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];

Parameter
Name Description
value String

The kmsKeyVersionId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setKmsKeyVersionIdBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setKmsKeyVersionIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for kmsKeyVersionId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setLifecycleDetails(String value)

public AutonomousDatabaseBackupProperties.Builder setLifecycleDetails(String value)

Output only. Additional information about the current lifecycle state.

string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The lifecycleDetails to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setLifecycleDetailsBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setLifecycleDetailsBytes(ByteString value)

Output only. Additional information about the current lifecycle state.

string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for lifecycleDetails to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setLifecycleState(AutonomousDatabaseBackupProperties.State value)

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];

Parameter
Name Description
value AutonomousDatabaseBackupProperties.State

The lifecycleState to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setLifecycleStateValue(int value)

public AutonomousDatabaseBackupProperties.Builder setLifecycleStateValue(int value)

Output only. The lifecycle state of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for lifecycleState to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setOcid(String value)

public AutonomousDatabaseBackupProperties.Builder setOcid(String 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];

Parameter
Name Description
value String

The ocid to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setOcidBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setOcidBytes(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];

Parameter
Name Description
value ByteString

The bytes for ocid to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AutonomousDatabaseBackupProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

setRetentionPeriodDays(int value)

public AutonomousDatabaseBackupProperties.Builder setRetentionPeriodDays(int value)

Optional. Retention period in days for the backup.

int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The retentionPeriodDays to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setSizeTb(float value)

public AutonomousDatabaseBackupProperties.Builder setSizeTb(float value)

Output only. The backup size in terabytes.

float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value float

The sizeTb to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setStartTime(Timestamp value)

public AutonomousDatabaseBackupProperties.Builder setStartTime(Timestamp value)

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setStartTime(Timestamp.Builder builderForValue)

public AutonomousDatabaseBackupProperties.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. The date and time the backup started.

.google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

setType(AutonomousDatabaseBackupProperties.Type value)

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];

Parameter
Name Description
value AutonomousDatabaseBackupProperties.Type

The type to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setTypeValue(int value)

public AutonomousDatabaseBackupProperties.Builder setTypeValue(int value)

Output only. The type of the backup.

.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final AutonomousDatabaseBackupProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AutonomousDatabaseBackupProperties.Builder
Overrides

setVaultId(String value)

public AutonomousDatabaseBackupProperties.Builder setVaultId(String value)

Optional. The OCID of the vault.

string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The vaultId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.

setVaultIdBytes(ByteString value)

public AutonomousDatabaseBackupProperties.Builder setVaultIdBytes(ByteString value)

Optional. The OCID of the vault.

string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for vaultId to set.

Returns
Type Description
AutonomousDatabaseBackupProperties.Builder

This builder for chaining.