Interface InstanceConsumptionDataOrBuilder (1.39.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
TypeDescription
InstanceConsumptionInfo

The consumptionInfo.

getConsumptionInfoOrBuilder()

public abstract InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()

Resources consumed by the instance.

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

Returns
TypeDescription
InstanceConsumptionInfoOrBuilder

getInstance()

public abstract String getInstance()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
TypeDescription
String

The instance.

getInstanceBytes()

public abstract ByteString getInstanceBytes()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the consumptionInfo field is set.

hasInstance()

public abstract boolean hasInstance()

Server-defined URL for the instance.

optional string instance = 18257045;

Returns
TypeDescription
boolean

Whether the instance field is set.