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
@Generated
public interface InstanceConsumptionDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.Output only.Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasConsumptionInfo
boolean hasConsumptionInfo()Output only. Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;- Returns:
- Whether the consumptionInfo field is set.
-
getConsumptionInfo
InstanceConsumptionInfo getConsumptionInfo()Output only. Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;- Returns:
- The consumptionInfo.
-
getConsumptionInfoOrBuilder
InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()Output only. Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898; -
hasInstance
boolean hasInstance()Output only. Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()Output only. Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()Output only. Server-defined URL for the instance.
optional string instance = 18257045;- Returns:
- The bytes for instance.
-