public final class PreservedStatePreservedDisk extends com.google.protobuf.GeneratedMessageV3 implements PreservedStatePreservedDiskOrBuilder
Protobuf type
google.cloud.compute.v1.PreservedStatePreservedDisk| Modifier and Type | Class and Description |
|---|---|
static class |
PreservedStatePreservedDisk.AutoDelete
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
static class |
PreservedStatePreservedDisk.Builder |
static class |
PreservedStatePreservedDisk.Mode
The mode in which to attach this disk, either READ_WRITE or READ_ONLY.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_DELETE_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static int |
SOURCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
static PreservedStatePreservedDisk |
getDefaultInstance() |
PreservedStatePreservedDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.Parser<PreservedStatePreservedDisk> |
getParserForType() |
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAutoDelete()
These stateful disks will never be deleted during autohealing, update, instance recreate operations.
|
int |
hashCode() |
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() |
static PreservedStatePreservedDisk.Builder |
newBuilder() |
static PreservedStatePreservedDisk.Builder |
newBuilder(PreservedStatePreservedDisk prototype) |
PreservedStatePreservedDisk.Builder |
newBuilderForType() |
protected PreservedStatePreservedDisk.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PreservedStatePreservedDisk |
parseDelimitedFrom(InputStream input) |
static PreservedStatePreservedDisk |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedStatePreservedDisk |
parseFrom(byte[] data) |
static PreservedStatePreservedDisk |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedStatePreservedDisk |
parseFrom(ByteBuffer data) |
static PreservedStatePreservedDisk |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedStatePreservedDisk |
parseFrom(com.google.protobuf.ByteString data) |
static PreservedStatePreservedDisk |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedStatePreservedDisk |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PreservedStatePreservedDisk |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PreservedStatePreservedDisk |
parseFrom(InputStream input) |
static PreservedStatePreservedDisk |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PreservedStatePreservedDisk> |
parser() |
PreservedStatePreservedDisk.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int AUTO_DELETE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PreservedStatePreservedDisk parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PreservedStatePreservedDisk parseFrom(InputStream input) throws IOException
IOExceptionpublic static PreservedStatePreservedDisk parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreservedStatePreservedDisk parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PreservedStatePreservedDisk parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PreservedStatePreservedDisk parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PreservedStatePreservedDisk parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PreservedStatePreservedDisk.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PreservedStatePreservedDisk.Builder newBuilder()
public static PreservedStatePreservedDisk.Builder newBuilder(PreservedStatePreservedDisk prototype)
public PreservedStatePreservedDisk.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PreservedStatePreservedDisk.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PreservedStatePreservedDisk getDefaultInstance()
public static com.google.protobuf.Parser<PreservedStatePreservedDisk> parser()
public com.google.protobuf.Parser<PreservedStatePreservedDisk> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PreservedStatePreservedDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.