Interface PreservedStatePreservedDiskOrBuilder (1.44.0)

public interface PreservedStatePreservedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoDelete()

public abstract String getAutoDelete()

These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
TypeDescription
String

The autoDelete.

getAutoDeleteBytes()

public abstract ByteString getAutoDeleteBytes()

These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
TypeDescription
ByteString

The bytes for autoDelete.

getMode()

public abstract String getMode()

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
ByteString

The bytes for mode.

getSource()

public abstract String getSource()

The URL of the disk resource that is stateful and should be attached to the VM instance.

optional string source = 177235995;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

The URL of the disk resource that is stateful and should be attached to the VM instance.

optional string source = 177235995;

Returns
TypeDescription
ByteString

The bytes for source.

hasAutoDelete()

public abstract boolean hasAutoDelete()

These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.

optional string auto_delete = 464761403;

Returns
TypeDescription
boolean

Whether the autoDelete field is set.

hasMode()

public abstract boolean hasMode()

The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
TypeDescription
boolean

Whether the mode field is set.

hasSource()

public abstract boolean hasSource()

The URL of the disk resource that is stateful and should be attached to the VM instance.

optional string source = 177235995;

Returns
TypeDescription
boolean

Whether the source field is set.