com.google.cloud.compute.v1.PreservedStatePreservedDiskOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-compute-v1 Show documentation
Show all versions of proto-google-cloud-compute-v1 Show documentation
Proto library for google-cloud-compute
The newest version!
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface PreservedStatePreservedDiskOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PreservedStatePreservedDisk)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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;
*
* @return Whether the autoDelete field is set.
*/
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;
*
* @return The autoDelete.
*/
java.lang.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;
*
* @return The bytes for autoDelete.
*/
com.google.protobuf.ByteString getAutoDeleteBytes();
/**
*
*
*
* 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;
*
* @return Whether the mode field is set.
*/
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;
*
* @return The mode.
*/
java.lang.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;
*
* @return The bytes for mode.
*/
com.google.protobuf.ByteString getModeBytes();
/**
*
*
*
* The URL of the disk resource that is stateful and should be attached to the VM instance.
*
*
* optional string source = 177235995;
*
* @return Whether the source field is set.
*/
boolean hasSource();
/**
*
*
*
* The URL of the disk resource that is stateful and should be attached to the VM instance.
*
*
* optional string source = 177235995;
*
* @return The source.
*/
java.lang.String getSource();
/**
*
*
*
* The URL of the disk resource that is stateful and should be attached to the VM instance.
*
*
* optional string source = 177235995;
*
* @return The bytes for source.
*/
com.google.protobuf.ByteString getSourceBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy