public static final class StatefulPolicyPreservedStateDiskDevice.Builder extends GeneratedMessageV3.Builder<StatefulPolicyPreservedStateDiskDevice.Builder> implements StatefulPolicyPreservedStateDiskDeviceOrBuilder
Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StatefulPolicyPreservedStateDiskDevice build()
Returns
buildPartial()
public StatefulPolicyPreservedStateDiskDevice buildPartial()
Returns
clear()
public StatefulPolicyPreservedStateDiskDevice.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public StatefulPolicyPreservedStateDiskDevice.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulPolicyPreservedStateDiskDevice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public StatefulPolicyPreservedStateDiskDevice.Builder clone()
Returns
Overrides
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;
Returns
Type | Description |
String | The autoDelete.
|
getAutoDeleteBytes()
public 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;
Returns
Type | Description |
ByteString | The bytes for autoDelete.
|
getDefaultInstanceForType()
public StatefulPolicyPreservedStateDiskDevice getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
Type | Description |
boolean | Whether the autoDelete field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StatefulPolicyPreservedStateDiskDevice other)
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(StatefulPolicyPreservedStateDiskDevice other)
Parameter
Returns
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedStateDiskDevice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setAutoDelete(String value)
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;
Parameter
Name | Description |
value | String
The autoDelete to set.
|
Returns
setAutoDeleteBytes(ByteString value)
public StatefulPolicyPreservedStateDiskDevice.Builder setAutoDeleteBytes(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;
Parameter
Name | Description |
value | ByteString
The bytes for autoDelete to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedStateDiskDevice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides