Class BackupDRConfig.Builder (0.6.0)

public static final class BackupDRConfig.Builder extends GeneratedMessage.Builder<BackupDRConfig.Builder> implements BackupDRConfigOrBuilder

BackupDRConfig to capture the backup and disaster recovery details of database resource.

Protobuf type google.cloud.databasecenter.v1beta.BackupDRConfig

Static Methods

getDescriptor()

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

Methods

build()

public BackupDRConfig build()
Returns
Type Description
BackupDRConfig

buildPartial()

public BackupDRConfig buildPartial()
Returns
Type Description
BackupDRConfig

clear()

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

clearBackupdrManaged()

public BackupDRConfig.Builder clearBackupdrManaged()

Indicates if the resource is managed by BackupDR.

optional bool backupdr_managed = 1;

Returns
Type Description
BackupDRConfig.Builder

This builder for chaining.

getBackupdrManaged()

public boolean getBackupdrManaged()

Indicates if the resource is managed by BackupDR.

optional bool backupdr_managed = 1;

Returns
Type Description
boolean

The backupdrManaged.

getDefaultInstanceForType()

public BackupDRConfig getDefaultInstanceForType()
Returns
Type Description
BackupDRConfig

getDescriptorForType()

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

hasBackupdrManaged()

public boolean hasBackupdrManaged()

Indicates if the resource is managed by BackupDR.

optional bool backupdr_managed = 1;

Returns
Type Description
boolean

Whether the backupdrManaged field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackupDRConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBackupdrManaged(boolean value)

public BackupDRConfig.Builder setBackupdrManaged(boolean value)

Indicates if the resource is managed by BackupDR.

optional bool backupdr_managed = 1;

Parameter
Name Description
value boolean

The backupdrManaged to set.

Returns
Type Description
BackupDRConfig.Builder

This builder for chaining.