Interface DiskResourceStatusOrBuilder (1.64.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
Name Description
key String
Returns
Type Description
boolean

getAsyncPrimaryDisk()

public abstract DiskResourceStatusAsyncReplicationStatus getAsyncPrimaryDisk()

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

Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

The asyncPrimaryDisk.

getAsyncPrimaryDiskOrBuilder()

public abstract DiskResourceStatusAsyncReplicationStatusOrBuilder getAsyncPrimaryDiskOrBuilder()

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

Returns
Type Description
DiskResourceStatusAsyncReplicationStatusOrBuilder

getAsyncSecondaryDisks() (deprecated)

public abstract Map<String,DiskResourceStatusAsyncReplicationStatus> getAsyncSecondaryDisks()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue DiskResourceStatusAsyncReplicationStatus
Returns
Type Description
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
Name Description
key String
Returns
Type Description
DiskResourceStatusAsyncReplicationStatus

hasAsyncPrimaryDisk()

public abstract boolean hasAsyncPrimaryDisk()

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

Returns
Type Description
boolean

Whether the asyncPrimaryDisk field is set.