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 InstanceConsumptionInfo
getConsumptionInfo()
Resources consumed by the instance.InstanceConsumptionInfoOrBuilder
getConsumptionInfoOrBuilder()
Resources consumed by the instance.String
getInstance()
Server-defined URL for the instance.com.google.protobuf.ByteString
getInstanceBytes()
Server-defined URL for the instance.boolean
hasConsumptionInfo()
Resources consumed by the instance.boolean
hasInstance()
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.
-
-