Interface StatefulPolicyPreservedStateOrBuilder (1.12.0)

public interface StatefulPolicyPreservedStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDisks(String key)

public abstract boolean containsDisks(String key)

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDisks()

public abstract Map<String,StatefulPolicyPreservedStateDiskDevice> getDisks()

Use #getDisksMap() instead.

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateDiskDevice>

getDisksCount()

public abstract int getDisksCount()

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Returns
TypeDescription
int

getDisksMap()

public abstract Map<String,StatefulPolicyPreservedStateDiskDevice> getDisksMap()

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Returns
TypeDescription
Map<String,StatefulPolicyPreservedStateDiskDevice>

getDisksOrDefault(String key, StatefulPolicyPreservedStateDiskDevice defaultValue)

public abstract StatefulPolicyPreservedStateDiskDevice getDisksOrDefault(String key, StatefulPolicyPreservedStateDiskDevice defaultValue)

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Parameters
NameDescription
keyString
defaultValueStatefulPolicyPreservedStateDiskDevice
Returns
TypeDescription
StatefulPolicyPreservedStateDiskDevice

getDisksOrThrow(String key)

public abstract StatefulPolicyPreservedStateDiskDevice getDisksOrThrow(String key)

Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.

map<string, .google.cloud.compute.v1.StatefulPolicyPreservedStateDiskDevice> disks = 95594102;

Parameter
NameDescription
keyString
Returns
TypeDescription
StatefulPolicyPreservedStateDiskDevice