Interface HostStatusOrBuilder (1.109.0)

public interface HostStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPhysicalTopology()

public abstract HostPhysicalTopology getPhysicalTopology()

Output only. The physical topology of the reservation sub-block, if present

optional .google.cloud.compute.v1.HostPhysicalTopology physical_topology = 279778519;

Returns
Type Description
HostPhysicalTopology

The physicalTopology.

getPhysicalTopologyOrBuilder()

public abstract HostPhysicalTopologyOrBuilder getPhysicalTopologyOrBuilder()

Output only. The physical topology of the reservation sub-block, if present

optional .google.cloud.compute.v1.HostPhysicalTopology physical_topology = 279778519;

Returns
Type Description
HostPhysicalTopologyOrBuilder

getRunningInstances(int index)

public abstract String getRunningInstances(int index)

Output only. The URIs of the instances currently running on this host.

repeated string running_instances = 536292350;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The runningInstances at the given index.

getRunningInstancesBytes(int index)

public abstract ByteString getRunningInstancesBytes(int index)

Output only. The URIs of the instances currently running on this host.

repeated string running_instances = 536292350;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the runningInstances at the given index.

getRunningInstancesCount()

public abstract int getRunningInstancesCount()

Output only. The URIs of the instances currently running on this host.

repeated string running_instances = 536292350;

Returns
Type Description
int

The count of runningInstances.

getRunningInstancesList()

public abstract List<String> getRunningInstancesList()

Output only. The URIs of the instances currently running on this host.

repeated string running_instances = 536292350;

Returns
Type Description
List<String>

A list containing the runningInstances.

hasPhysicalTopology()

public abstract boolean hasPhysicalTopology()

Output only. The physical topology of the reservation sub-block, if present

optional .google.cloud.compute.v1.HostPhysicalTopology physical_topology = 279778519;

Returns
Type Description
boolean

Whether the physicalTopology field is set.