Interface PreservedStateOrBuilder (1.51.0)

public interface PreservedStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDisks(String key)

public abstract boolean containsDisks(String key)

Preserved disks defined for this instance. This map is keyed with the device names of the disks.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsExternalIPs(String key)

public abstract boolean containsExternalIPs(String key)

Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsInternalIPs(String key)

public abstract boolean containsInternalIPs(String key)

Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDisks() (deprecated)

public abstract Map<String,PreservedStatePreservedDisk> getDisks()

Use #getDisksMap() instead.

Returns
TypeDescription
Map<String,PreservedStatePreservedDisk>

getDisksCount()

public abstract int getDisksCount()

Preserved disks defined for this instance. This map is keyed with the device names of the disks.

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

Returns
TypeDescription
int

getDisksMap()

public abstract Map<String,PreservedStatePreservedDisk> getDisksMap()

Preserved disks defined for this instance. This map is keyed with the device names of the disks.

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

Returns
TypeDescription
Map<String,PreservedStatePreservedDisk>

getDisksOrDefault(String key, PreservedStatePreservedDisk defaultValue)

public abstract PreservedStatePreservedDisk getDisksOrDefault(String key, PreservedStatePreservedDisk defaultValue)

Preserved disks defined for this instance. This map is keyed with the device names of the disks.

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

Parameters
NameDescription
keyString
defaultValuePreservedStatePreservedDisk
Returns
TypeDescription
PreservedStatePreservedDisk

getDisksOrThrow(String key)

public abstract PreservedStatePreservedDisk getDisksOrThrow(String key)

Preserved disks defined for this instance. This map is keyed with the device names of the disks.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
PreservedStatePreservedDisk

getExternalIPs() (deprecated)

public abstract Map<String,PreservedStatePreservedNetworkIp> getExternalIPs()

Use #getExternalIPsMap() instead.

Returns
TypeDescription
Map<String,PreservedStatePreservedNetworkIp>

getExternalIPsCount()

public abstract int getExternalIPsCount()

Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;

Returns
TypeDescription
int

getExternalIPsMap()

public abstract Map<String,PreservedStatePreservedNetworkIp> getExternalIPsMap()

Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;

Returns
TypeDescription
Map<String,PreservedStatePreservedNetworkIp>

getExternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)

public abstract PreservedStatePreservedNetworkIp getExternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)

Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;

Parameters
NameDescription
keyString
defaultValuePreservedStatePreservedNetworkIp
Returns
TypeDescription
PreservedStatePreservedNetworkIp

getExternalIPsOrThrow(String key)

public abstract PreservedStatePreservedNetworkIp getExternalIPsOrThrow(String key)

Preserved external IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> external_i_ps = 532687245;

Parameter
NameDescription
keyString
Returns
TypeDescription
PreservedStatePreservedNetworkIp

getInternalIPs() (deprecated)

public abstract Map<String,PreservedStatePreservedNetworkIp> getInternalIPs()

Use #getInternalIPsMap() instead.

Returns
TypeDescription
Map<String,PreservedStatePreservedNetworkIp>

getInternalIPsCount()

public abstract int getInternalIPsCount()

Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;

Returns
TypeDescription
int

getInternalIPsMap()

public abstract Map<String,PreservedStatePreservedNetworkIp> getInternalIPsMap()

Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;

Returns
TypeDescription
Map<String,PreservedStatePreservedNetworkIp>

getInternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)

public abstract PreservedStatePreservedNetworkIp getInternalIPsOrDefault(String key, PreservedStatePreservedNetworkIp defaultValue)

Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;

Parameters
NameDescription
keyString
defaultValuePreservedStatePreservedNetworkIp
Returns
TypeDescription
PreservedStatePreservedNetworkIp

getInternalIPsOrThrow(String key)

public abstract PreservedStatePreservedNetworkIp getInternalIPsOrThrow(String key)

Preserved internal IPs defined for this instance. This map is keyed with the name of the network interface.

map<string, .google.cloud.compute.v1.PreservedStatePreservedNetworkIp> internal_i_ps = 215731675;

Parameter
NameDescription
keyString
Returns
TypeDescription
PreservedStatePreservedNetworkIp

getMetadata() (deprecated)

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
TypeDescription
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Returns
TypeDescription
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Returns
TypeDescription
Map<String,String>

getMetadataOrDefault(String key, String defaultValue)

public abstract String getMetadataOrDefault(String key, String defaultValue)

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Parameter
NameDescription
keyString
Returns
TypeDescription
String