Class BackupDRConfig.Builder (0.3.0)

public static final class BackupDRConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackupDRConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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