public static final class StatefulPolicyPreservedStateDiskDevice.Builder extends GeneratedMessageV3.Builder<StatefulPolicyPreservedStateDiskDevice.Builder> implements StatefulPolicyPreservedStateDiskDeviceOrBuilder
Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StatefulPolicyPreservedStateDiskDevice build()
buildPartial()
public StatefulPolicyPreservedStateDiskDevice buildPartial()
clear()
public StatefulPolicyPreservedStateDiskDevice.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public StatefulPolicyPreservedStateDiskDevice.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulPolicyPreservedStateDiskDevice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StatefulPolicyPreservedStateDiskDevice.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StatefulPolicyPreservedStateDiskDevice other)
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(StatefulPolicyPreservedStateDiskDevice other)
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StatefulPolicyPreservedStateDiskDevice.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedStateDiskDevice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulPolicyPreservedStateDiskDevice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulPolicyPreservedStateDiskDevice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides