public final class SavedDisk extends com.google.protobuf.GeneratedMessageV3 implements SavedDiskOrBuilder
An instance-attached disk resource.Protobuf type
google.cloud.compute.v1.SavedDisk| Modifier and Type | Class and Description |
|---|---|
static class |
SavedDisk.Architecture
[Output Only] The architecture of the attached disk.
|
static class |
SavedDisk.Builder
An instance-attached disk resource.
|
static class |
SavedDisk.StorageBytesStatus
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
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 |
ARCHITECTURE_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
SOURCE_DISK_FIELD_NUMBER |
static int |
STORAGE_BYTES_FIELD_NUMBER |
static int |
STORAGE_BYTES_STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArchitecture()
[Output Only] The architecture of the attached disk.
|
com.google.protobuf.ByteString |
getArchitectureBytes()
[Output Only] The architecture of the attached disk.
|
static SavedDisk |
getDefaultInstance() |
SavedDisk |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
com.google.protobuf.Parser<SavedDisk> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceDisk()
Specifies a URL of the disk attached to the source instance.
|
com.google.protobuf.ByteString |
getSourceDiskBytes()
Specifies a URL of the disk attached to the source instance.
|
long |
getStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
|
String |
getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
com.google.protobuf.ByteString |
getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasArchitecture()
[Output Only] The architecture of the attached disk.
|
int |
hashCode() |
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasSourceDisk()
Specifies a URL of the disk attached to the source instance.
|
boolean |
hasStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
|
boolean |
hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SavedDisk.Builder |
newBuilder() |
static SavedDisk.Builder |
newBuilder(SavedDisk prototype) |
SavedDisk.Builder |
newBuilderForType() |
protected SavedDisk.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SavedDisk |
parseDelimitedFrom(InputStream input) |
static SavedDisk |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedDisk |
parseFrom(byte[] data) |
static SavedDisk |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedDisk |
parseFrom(ByteBuffer data) |
static SavedDisk |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedDisk |
parseFrom(com.google.protobuf.ByteString data) |
static SavedDisk |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedDisk |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SavedDisk |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SavedDisk |
parseFrom(InputStream input) |
static SavedDisk |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SavedDisk> |
parser() |
SavedDisk.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 ARCHITECTURE_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int SOURCE_DISK_FIELD_NUMBER
public static final int STORAGE_BYTES_FIELD_NUMBER
public static final int STORAGE_BYTES_STATUS_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 hasArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;hasArchitecture in interface SavedDiskOrBuilderpublic String getArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitecture in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getArchitectureBytes()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitectureBytes in interface SavedDiskOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;hasKind in interface SavedDiskOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;getKind in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;getKindBytes in interface SavedDiskOrBuilderpublic boolean hasSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;hasSourceDisk in interface SavedDiskOrBuilderpublic String getSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;getSourceDisk in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getSourceDiskBytes()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;getSourceDiskBytes in interface SavedDiskOrBuilderpublic boolean hasStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;hasStorageBytes in interface SavedDiskOrBuilderpublic long getStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;getStorageBytes in interface SavedDiskOrBuilderpublic boolean hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;hasStorageBytesStatus in interface SavedDiskOrBuilderpublic String getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatus in interface SavedDiskOrBuilderpublic com.google.protobuf.ByteString getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatusBytes in interface SavedDiskOrBuilderpublic 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 SavedDisk parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SavedDisk parseFrom(InputStream input) throws IOException
IOExceptionpublic static SavedDisk parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedDisk parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SavedDisk parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SavedDisk parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SavedDisk parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SavedDisk.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SavedDisk.Builder newBuilder()
public static SavedDisk.Builder newBuilder(SavedDisk prototype)
public SavedDisk.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SavedDisk.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SavedDisk getDefaultInstance()
public static com.google.protobuf.Parser<SavedDisk> parser()
public com.google.protobuf.Parser<SavedDisk> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SavedDisk getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.