public final class InstanceConsumptionData extends GeneratedMessageV3 implements InstanceConsumptionDataOrBuilder
Protobuf type google.cloud.compute.v1.InstanceConsumptionData
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
CONSUMPTION_INFO_FIELD_NUMBER
public static final int CONSUMPTION_INFO_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
INSTANCE_FIELD_NUMBER
public static final int INSTANCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static InstanceConsumptionData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static InstanceConsumptionData.Builder newBuilder()
newBuilder(InstanceConsumptionData prototype)
public static InstanceConsumptionData.Builder newBuilder(InstanceConsumptionData prototype)
public static InstanceConsumptionData parseDelimitedFrom(InputStream input)
public static InstanceConsumptionData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static InstanceConsumptionData parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InstanceConsumptionData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static InstanceConsumptionData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceConsumptionData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InstanceConsumptionData parseFrom(CodedInputStream input)
public static InstanceConsumptionData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InstanceConsumptionData parseFrom(InputStream input)
public static InstanceConsumptionData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static InstanceConsumptionData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static InstanceConsumptionData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<InstanceConsumptionData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getConsumptionInfo()
public InstanceConsumptionInfo getConsumptionInfo()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
getConsumptionInfoOrBuilder()
public InstanceConsumptionInfoOrBuilder getConsumptionInfoOrBuilder()
Resources consumed by the instance.
optional .google.cloud.compute.v1.InstanceConsumptionInfo consumption_info = 146354898;
getDefaultInstanceForType()
public InstanceConsumptionData getDefaultInstanceForType()
getInstance()
public String getInstance()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
String | The instance.
|
getInstanceBytes()
public ByteString getInstanceBytes()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
ByteString | The bytes for instance.
|
getParserForType()
public Parser<InstanceConsumptionData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasConsumptionInfo()
public 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 boolean hasInstance()
Server-defined URL for the instance.
optional string instance = 18257045;
Returns |
---|
Type | Description |
boolean | Whether the instance field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public InstanceConsumptionData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected InstanceConsumptionData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public InstanceConsumptionData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides