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

containsMetadata(String key)

public abstract boolean containsMetadata(String key)

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDisks() (deprecated)

public abstract Map<String,PreservedStatePreservedDisk> getDisks()

Use #getDisksMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue PreservedStatePreservedDisk
Returns
Type Description
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
Name Description
key String
Returns
Type Description
PreservedStatePreservedDisk

getExternalIPs() (deprecated)

public abstract Map<String,PreservedStatePreservedNetworkIp> getExternalIPs()

Use #getExternalIPsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue PreservedStatePreservedNetworkIp
Returns
Type Description
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
Name Description
key String
Returns
Type Description
PreservedStatePreservedNetworkIp

getInternalIPs() (deprecated)

public abstract Map<String,PreservedStatePreservedNetworkIp> getInternalIPs()

Use #getInternalIPsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue PreservedStatePreservedNetworkIp
Returns
Type Description
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
Name Description
key String
Returns
Type Description
PreservedStatePreservedNetworkIp

getMetadata() (deprecated)

public abstract Map<String,String> getMetadata()

Use #getMetadataMap() instead.

Returns
Type Description
Map<String,String>

getMetadataCount()

public abstract int getMetadataCount()

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Returns
Type Description
int

getMetadataMap()

public abstract Map<String,String> getMetadataMap()

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Returns
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
String

getMetadataOrThrow(String key)

public abstract String getMetadataOrThrow(String key)

Preserved metadata defined for this instance.

map<string, string> metadata = 86866735;

Parameter
Name Description
key String
Returns
Type Description
String