Interface PreservedStatePreservedDiskOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
PreservedStatePreservedDisk, PreservedStatePreservedDisk.Builder

@Generated public interface PreservedStatePreservedDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    These stateful disks will never be deleted during autohealing, update, instance recreate operations.
    com.google.protobuf.ByteString
    These stateful disks will never be deleted during autohealing, update, instance recreate operations.
    The mode in which to attach this disk, either READ_WRITE orREAD_ONLY.
    com.google.protobuf.ByteString
    The mode in which to attach this disk, either READ_WRITE orREAD_ONLY.
    The URL of the disk resource that is stateful and should be attached to the VM instance.
    com.google.protobuf.ByteString
    The URL of the disk resource that is stateful and should be attached to the VM instance.
    boolean
    These stateful disks will never be deleted during autohealing, update, instance recreate operations.
    boolean
    The mode in which to attach this disk, either READ_WRITE orREAD_ONLY.
    boolean
    The URL of the disk resource that is stateful and should be attached to the VM instance.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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, 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:
      Whether the autoDelete field is set.
    • getAutoDelete

      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:
      The autoDelete.
    • getAutoDeleteBytes

      com.google.protobuf.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:
      The bytes for autoDelete.
    • hasMode

      boolean hasMode()
       The mode in which to attach this disk, either READ_WRITE orREAD_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:
      Whether the mode field is set.
    • getMode

      String getMode()
       The mode in which to attach this disk, either READ_WRITE orREAD_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:
      The mode.
    • getModeBytes

      com.google.protobuf.ByteString getModeBytes()
       The mode in which to attach this disk, either READ_WRITE orREAD_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:
      The bytes for mode.
    • hasSource

      boolean hasSource()
       The URL of the disk resource that is stateful and should be attached
       to the VM instance.
       
      optional string source = 177235995;
      Returns:
      Whether the source field is set.
    • getSource

      String getSource()
       The URL of the disk resource that is stateful and should be attached
       to the VM instance.
       
      optional string source = 177235995;
      Returns:
      The source.
    • getSourceBytes

      com.google.protobuf.ByteString getSourceBytes()
       The URL of the disk resource that is stateful and should be attached
       to the VM instance.
       
      optional string source = 177235995;
      Returns:
      The bytes for source.