Interface SavedDiskOrBuilder (1.59.0)

public interface SavedDiskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArchitecture()

public abstract 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
Type Description
String

The architecture.

getArchitectureBytes()

public abstract 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
Type Description
ByteString

The bytes for architecture.

getKind()

public abstract String getKind()

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

optional string kind = 3292052;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for storageBytesStatus.

hasArchitecture()

public abstract 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
Type Description
boolean

Whether the architecture field is set.

hasKind()

public abstract boolean hasKind()

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

optional string kind = 3292052;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the storageBytesStatus field is set.