Package com.google.cloud.compute.v1
Interface SavedDiskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedDisk
,SavedDisk.Builder
public interface SavedDiskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getArchitecture()
[Output Only] The architecture of the attached disk.com.google.protobuf.ByteString
getArchitectureBytes()
[Output Only] The architecture of the attached disk.String
getKind()
[Output Only] Type of the resource.com.google.protobuf.ByteString
getKindBytes()
[Output Only] Type of the resource.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.boolean
hasArchitecture()
[Output Only] The architecture of the attached disk.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasArchitecture
boolean hasArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;
- Returns:
- Whether the architecture field is set.
-
getArchitecture
String getArchitecture()
[Output Only] The architecture of the attached disk. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;
- Returns:
- The architecture.
-
getArchitectureBytes
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;
- Returns:
- The bytes for architecture.
-
hasKind
boolean hasKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;
- Returns:
- Whether the kind field is set.
-
getKind
String getKind()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;
- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#savedDisk for attached disks.
optional string kind = 3292052;
- Returns:
- The bytes for kind.
-
hasSourceDisk
boolean hasSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;
- Returns:
- Whether the sourceDisk field is set.
-
getSourceDisk
String getSourceDisk()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;
- Returns:
- The sourceDisk.
-
getSourceDiskBytes
com.google.protobuf.ByteString getSourceDiskBytes()
Specifies a URL of the disk attached to the source instance.
optional string source_disk = 451753793;
- Returns:
- The bytes for sourceDisk.
-
hasStorageBytes
boolean hasStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;
- Returns:
- Whether the storageBytes field is set.
-
getStorageBytes
long getStorageBytes()
[Output Only] Size of the individual disk snapshot used by this machine image.
optional int64 storage_bytes = 424631719;
- Returns:
- The storageBytes.
-
hasStorageBytesStatus
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;
- Returns:
- Whether the storageBytesStatus field is set.
-
getStorageBytesStatus
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;
- Returns:
- The storageBytesStatus.
-
getStorageBytesStatusBytes
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;
- Returns:
- The bytes for storageBytesStatus.
-
-