public static final class PreservedStatePreservedDisk.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder> implements PreservedStatePreservedDiskOrBuilder
Protobuf type
google.cloud.compute.v1.PreservedStatePreservedDisk| Modifier and Type | Method and Description |
|---|---|
PreservedStatePreservedDisk.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PreservedStatePreservedDisk |
build() |
PreservedStatePreservedDisk |
buildPartial() |
PreservedStatePreservedDisk.Builder |
clear() |
PreservedStatePreservedDisk.Builder |
clearAutoDelete()
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
PreservedStatePreservedDisk.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PreservedStatePreservedDisk.Builder |
clearMode()
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
PreservedStatePreservedDisk.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PreservedStatePreservedDisk.Builder |
clearSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
PreservedStatePreservedDisk.Builder |
clone() |
String |
getAutoDelete()
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
com.google.protobuf.ByteString |
getAutoDeleteBytes()
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
PreservedStatePreservedDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMode()
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
com.google.protobuf.ByteString |
getModeBytes()
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
String |
getSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
com.google.protobuf.ByteString |
getSourceBytes()
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
boolean |
hasAutoDelete()
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
boolean |
hasMode()
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
boolean |
hasSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PreservedStatePreservedDisk.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PreservedStatePreservedDisk.Builder |
mergeFrom(com.google.protobuf.Message other) |
PreservedStatePreservedDisk.Builder |
mergeFrom(PreservedStatePreservedDisk other) |
PreservedStatePreservedDisk.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PreservedStatePreservedDisk.Builder |
setAutoDelete(String value)
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
PreservedStatePreservedDisk.Builder |
setAutoDeleteBytes(com.google.protobuf.ByteString value)
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
PreservedStatePreservedDisk.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PreservedStatePreservedDisk.Builder |
setMode(String value)
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
PreservedStatePreservedDisk.Builder |
setModeBytes(com.google.protobuf.ByteString value)
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
PreservedStatePreservedDisk.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PreservedStatePreservedDisk.Builder |
setSource(String value)
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
PreservedStatePreservedDisk.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
The URL of the disk resource that is stateful and should be attached to the VM instance.
|
PreservedStatePreservedDisk.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PreservedStatePreservedDisk build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PreservedStatePreservedDisk buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PreservedStatePreservedDisk.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder mergeFrom(PreservedStatePreservedDisk other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public PreservedStatePreservedDisk.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreservedStatePreservedDisk.Builder>IOExceptionpublic 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;hasAutoDelete in interface PreservedStatePreservedDiskOrBuilderpublic 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;getAutoDelete in interface PreservedStatePreservedDiskOrBuilderpublic 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;getAutoDeleteBytes in interface PreservedStatePreservedDiskOrBuilderpublic PreservedStatePreservedDisk.Builder setAutoDelete(String value)
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;value - The autoDelete to set.public PreservedStatePreservedDisk.Builder clearAutoDelete()
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;public PreservedStatePreservedDisk.Builder setAutoDeleteBytes(com.google.protobuf.ByteString value)
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;value - The bytes for autoDelete to set.public 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;hasMode in interface PreservedStatePreservedDiskOrBuilderpublic 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;getMode in interface PreservedStatePreservedDiskOrBuilderpublic com.google.protobuf.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;getModeBytes in interface PreservedStatePreservedDiskOrBuilderpublic PreservedStatePreservedDisk.Builder setMode(String value)
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;value - The mode to set.public PreservedStatePreservedDisk.Builder clearMode()
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;public PreservedStatePreservedDisk.Builder setModeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for mode to set.public boolean hasSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
optional string source = 177235995;hasSource in interface PreservedStatePreservedDiskOrBuilderpublic String getSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
optional string source = 177235995;getSource in interface PreservedStatePreservedDiskOrBuilderpublic 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;getSourceBytes in interface PreservedStatePreservedDiskOrBuilderpublic PreservedStatePreservedDisk.Builder setSource(String value)
The URL of the disk resource that is stateful and should be attached to the VM instance.
optional string source = 177235995;value - The source to set.public PreservedStatePreservedDisk.Builder clearSource()
The URL of the disk resource that is stateful and should be attached to the VM instance.
optional string source = 177235995;public PreservedStatePreservedDisk.Builder setSourceBytes(com.google.protobuf.ByteString value)
The URL of the disk resource that is stateful and should be attached to the VM instance.
optional string source = 177235995;value - The bytes for source to set.public final PreservedStatePreservedDisk.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>public final PreservedStatePreservedDisk.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PreservedStatePreservedDisk.Builder>Copyright © 2023 Google LLC. All rights reserved.