public final class StatefulPolicyPreservedStateDiskDevice extends GeneratedMessageV3 implements StatefulPolicyPreservedStateDiskDeviceOrBuilder
Protobuf type google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice
Fields
AUTO_DELETE_FIELD_NUMBER
public static final int AUTO_DELETE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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.
|
getDefaultInstance()
public static StatefulPolicyPreservedStateDiskDevice getDefaultInstance()
Returns
getDefaultInstanceForType()
public StatefulPolicyPreservedStateDiskDevice getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<StatefulPolicyPreservedStateDiskDevice> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static StatefulPolicyPreservedStateDiskDevice.Builder newBuilder()
Returns
newBuilder(StatefulPolicyPreservedStateDiskDevice prototype)
public static StatefulPolicyPreservedStateDiskDevice.Builder newBuilder(StatefulPolicyPreservedStateDiskDevice prototype)
Parameter
Returns
newBuilderForType()
public StatefulPolicyPreservedStateDiskDevice.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StatefulPolicyPreservedStateDiskDevice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static StatefulPolicyPreservedStateDiskDevice parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatefulPolicyPreservedStateDiskDevice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatefulPolicyPreservedStateDiskDevice parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static StatefulPolicyPreservedStateDiskDevice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static StatefulPolicyPreservedStateDiskDevice parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static StatefulPolicyPreservedStateDiskDevice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StatefulPolicyPreservedStateDiskDevice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<StatefulPolicyPreservedStateDiskDevice> parser()
Returns
toBuilder()
public StatefulPolicyPreservedStateDiskDevice.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions