Class DiskBackupPlanProperties.Builder (0.58.0)

public static final class DiskBackupPlanProperties.Builder extends GeneratedMessage.Builder<DiskBackupPlanProperties.Builder> implements DiskBackupPlanPropertiesOrBuilder

Properties for a disk backup plan.

Protobuf type google.cloud.backupdr.v1beta.DiskBackupPlanProperties

Static Methods

getDescriptor()

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

Methods

build()

public DiskBackupPlanProperties build()
Returns
Type Description
DiskBackupPlanProperties

buildPartial()

public DiskBackupPlanProperties buildPartial()
Returns
Type Description
DiskBackupPlanProperties

clear()

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

clearGuestFlush()

public DiskBackupPlanProperties.Builder clearGuestFlush()

Optional. Indicates whether to perform a guest flush operation before taking a disk backup. When set to false, the system will create crash-consistent backups. Default value is false.

bool guest_flush = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DiskBackupPlanProperties.Builder

This builder for chaining.

getDefaultInstanceForType()

public DiskBackupPlanProperties getDefaultInstanceForType()
Returns
Type Description
DiskBackupPlanProperties

getDescriptorForType()

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

getGuestFlush()

public boolean getGuestFlush()

Optional. Indicates whether to perform a guest flush operation before taking a disk backup. When set to false, the system will create crash-consistent backups. Default value is false.

bool guest_flush = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The guestFlush.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DiskBackupPlanProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGuestFlush(boolean value)

public DiskBackupPlanProperties.Builder setGuestFlush(boolean value)

Optional. Indicates whether to perform a guest flush operation before taking a disk backup. When set to false, the system will create crash-consistent backups. Default value is false.

bool guest_flush = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The guestFlush to set.

Returns
Type Description
DiskBackupPlanProperties.Builder

This builder for chaining.