Class StatefulPolicyPreservedStateDiskDevice.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<StatefulPolicyPreservedStateDiskDevice.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<StatefulPolicyPreservedStateDiskDevice.Builder>
      • getDefaultInstanceForType

        public StatefulPolicyPreservedStateDiskDevice getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public StatefulPolicyPreservedStateDiskDevice build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public StatefulPolicyPreservedStateDiskDevice buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<StatefulPolicyPreservedStateDiskDevice.Builder>
      • hasAutoDelete

        public 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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Specified by:
        hasAutoDelete in interface StatefulPolicyPreservedStateDiskDeviceOrBuilder
        Returns:
        Whether the autoDelete field is set.
      • getAutoDelete

        public 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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Specified by:
        getAutoDelete in interface StatefulPolicyPreservedStateDiskDeviceOrBuilder
        Returns:
        The autoDelete.
      • getAutoDeleteBytes

        public 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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Specified by:
        getAutoDeleteBytes in interface StatefulPolicyPreservedStateDiskDeviceOrBuilder
        Returns:
        The bytes for autoDelete.
      • setAutoDelete

        public StatefulPolicyPreservedStateDiskDevice.Builder setAutoDelete​(String value)
         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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Parameters:
        value - The autoDelete to set.
        Returns:
        This builder for chaining.
      • clearAutoDelete

        public StatefulPolicyPreservedStateDiskDevice.Builder clearAutoDelete()
         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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Returns:
        This builder for chaining.
      • setAutoDeleteBytes

        public StatefulPolicyPreservedStateDiskDevice.Builder setAutoDeleteBytes​(com.google.protobuf.ByteString value)
         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 in READ_ONLY mode cannot be auto-deleted.
         Check the AutoDelete enum for the list of possible values.
         
        optional string auto_delete = 464761403;
        Parameters:
        value - The bytes for autoDelete to set.
        Returns:
        This builder for chaining.