Package com.google.cloud.compute.v1
Interface InstanceConsumptionDataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceConsumptionData,InstanceConsumptionData.Builder
public interface InstanceConsumptionDataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceConsumptionInfogetConsumptionInfo()Resources consumed by the instance.InstanceConsumptionInfoOrBuildergetConsumptionInfoOrBuilder()Resources consumed by the instance.StringgetInstance()Server-defined URL for the instance.com.google.protobuf.ByteStringgetInstanceBytes()Server-defined URL for the instance.booleanhasConsumptionInfo()Resources consumed by the instance.booleanhasInstance()Server-defined URL for the instance.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasConsumptionInfo
boolean hasConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;- Returns:
- Whether the consumptionInfo field is set.
-
getConsumptionInfo
InstanceConsumptionInfo getConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;- Returns:
- The consumptionInfo.
-
getConsumptionInfoOrBuilder
InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
-
hasInstance
boolean hasInstance()
Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- The bytes for instance.
-
-