Interface InstanceConsumptionDataOrBuilder (1.53.0)

public interface InstanceConsumptionDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsumptionInfo()

public abstract InstanceConsumptionInfo getConsumptionInfo()

Resources consumed by the instance.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;

Returns
Type Description
InstanceConsumptionInfo

The consumptionInfo.

getConsumptionInfoOrBuilder()

public abstract InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()

Resources consumed by the instance.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;

Returns
Type Description
InstanceConsumptionInfoOrBuilder

getInstance()

public abstract String getInstance()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
Type Description
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
Type Description
ByteString

The bytes for instance.

hasConsumptionInfo()

public abstract boolean hasConsumptionInfo()

Resources consumed by the instance.

optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;

Returns
Type Description
boolean

Whether the consumptionInfo field is set.

hasInstance()

public abstract boolean hasInstance()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
Type Description
boolean

Whether the instance field is set.