Package com.google.cloud.compute.v1
Interface StatefulPolicyPreservedStateDiskDeviceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StatefulPolicyPreservedStateDiskDevice,StatefulPolicyPreservedStateDiskDevice.Builder
@Generated
public interface StatefulPolicyPreservedStateDiskDeviceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThese stateful disks will never be deleted during autohealing, update or VM instance recreate operations.com.google.protobuf.ByteStringThese stateful disks will never be deleted during autohealing, update or VM instance recreate operations.booleanThese stateful disks will never be deleted during autohealing, update or VM instance recreate operations.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAutoDelete
boolean hasAutoDelete()These stateful disks will never be deleted during autohealing, update or VM 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 group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.
optional string auto_delete = 464761403;- Returns:
- Whether the autoDelete field is set.
-
getAutoDelete
String getAutoDelete()These stateful disks will never be deleted during autohealing, update or VM 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 group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.
optional string auto_delete = 464761403;- Returns:
- The autoDelete.
-
getAutoDeleteBytes
com.google.protobuf.ByteString getAutoDeleteBytes()These stateful disks will never be deleted during autohealing, update or VM 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 group is deleted. Note: disks attached inREAD_ONLY mode cannot be auto-deleted. Check the AutoDelete enum for the list of possible values.
optional string auto_delete = 464761403;- Returns:
- The bytes for autoDelete.
-