Interface SavedDiskOrBuilder (1.8.1)

public interface SavedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#savedDisk for attached disks.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#savedDisk for attached disks.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getSourceDisk()

public abstract String getSourceDisk()

Specifies a URL of the disk attached to the source instance.

optional string source_disk = 451753793;

Returns
TypeDescription
String

The sourceDisk.

getSourceDiskBytes()

public abstract ByteString getSourceDiskBytes()

Specifies a URL of the disk attached to the source instance.

optional string source_disk = 451753793;

Returns
TypeDescription
ByteString

The bytes for sourceDisk.

getStorageBytes()

public abstract long getStorageBytes()

[Output Only] Size of the individual disk snapshot used by this machine image.

optional int64 storage_bytes = 424631719;

Returns
TypeDescription
long

The storageBytes.

getStorageBytesStatus()

public abstract 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
TypeDescription
String

The storageBytesStatus.

getStorageBytesStatusBytes()

public abstract 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
TypeDescription
ByteString

The bytes for storageBytesStatus.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#savedDisk for attached disks.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasSourceDisk()

public abstract boolean hasSourceDisk()

Specifies a URL of the disk attached to the source instance.

optional string source_disk = 451753793;

Returns
TypeDescription
boolean

Whether the sourceDisk field is set.

hasStorageBytes()

public abstract boolean hasStorageBytes()

[Output Only] Size of the individual disk snapshot used by this machine image.

optional int64 storage_bytes = 424631719;

Returns
TypeDescription
boolean

Whether the storageBytes field is set.

hasStorageBytesStatus()

public abstract 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
TypeDescription
boolean

Whether the storageBytesStatus field is set.