Interface DiskResourceStatusOrBuilder (1.42.0)

public interface DiskResourceStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAsyncSecondaryDisks(String key)

public abstract boolean containsAsyncSecondaryDisks(String key)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAsyncPrimaryDisk()

public abstract DiskResourceStatusAsyncReplicationStatus getAsyncPrimaryDisk()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

The asyncPrimaryDisk.

getAsyncPrimaryDiskOrBuilder()

public abstract DiskResourceStatusAsyncReplicationStatusOrBuilder getAsyncPrimaryDiskOrBuilder()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatusOrBuilder

getAsyncSecondaryDisks() (deprecated)

public abstract Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisks()
Returns
TypeDescription
Map<String,DiskResourceStatusAsyncReplicationStatus>

getAsyncSecondaryDisksCount()

public abstract int getAsyncSecondaryDisksCount()

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Returns
TypeDescription
int

getAsyncSecondaryDisksMap()

public abstract Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisksMap()

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Returns
TypeDescription
Map<String,DiskResourceStatusAsyncReplicationStatus>

getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)

public abstract DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrDefault(String key, DiskResourceStatusAsyncReplicationStatus defaultValue)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameters
NameDescription
keyString
defaultValueDiskResourceStatusAsyncReplicationStatus
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

getAsyncSecondaryDisksOrThrow(String key)

public abstract DiskResourceStatusAsyncReplicationStatus getAsyncSecondaryDisksOrThrow(String key)

Key: disk, value: AsyncReplicationStatus message

map<string, .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus> async_secondary_disks = 322925608;

Parameter
NameDescription
keyString
Returns
TypeDescription
DiskResourceStatusAsyncReplicationStatus

hasAsyncPrimaryDisk()

public abstract boolean hasAsyncPrimaryDisk()

optional .google.cloud.compute.v1.DiskResourceStatusAsyncReplicationStatus async_primary_disk = 180517533;

Returns
TypeDescription
boolean

Whether the asyncPrimaryDisk field is set.