Class AllocationResourceStatus (1.30.0)

public final class AllocationResourceStatus extends GeneratedMessageV3 implements AllocationResourceStatusOrBuilder

[Output Only] Contains output only fields.

Protobuf type google.cloud.compute.v1.AllocationResourceStatus

Static Fields

SPECIFIC_SKU_ALLOCATION_FIELD_NUMBER

public static final int SPECIFIC_SKU_ALLOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AllocationResourceStatus getDefaultInstance()
Returns
TypeDescription
AllocationResourceStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AllocationResourceStatus.Builder newBuilder()
Returns
TypeDescription
AllocationResourceStatus.Builder

newBuilder(AllocationResourceStatus prototype)

public static AllocationResourceStatus.Builder newBuilder(AllocationResourceStatus prototype)
Parameter
NameDescription
prototypeAllocationResourceStatus
Returns
TypeDescription
AllocationResourceStatus.Builder

parseDelimitedFrom(InputStream input)

public static AllocationResourceStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AllocationResourceStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AllocationResourceStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AllocationResourceStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AllocationResourceStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AllocationResourceStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AllocationResourceStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AllocationResourceStatus> parser()
Returns
TypeDescription
Parser<AllocationResourceStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AllocationResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
AllocationResourceStatus

getParserForType()

public Parser<AllocationResourceStatus> getParserForType()
Returns
TypeDescription
Parser<AllocationResourceStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpecificSkuAllocation()

public AllocationResourceStatusSpecificSKUAllocation getSpecificSkuAllocation()

Allocation Properties of this reservation.

optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;

Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation

The specificSkuAllocation.

getSpecificSkuAllocationOrBuilder()

public AllocationResourceStatusSpecificSKUAllocationOrBuilder getSpecificSkuAllocationOrBuilder()

Allocation Properties of this reservation.

optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;

Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocationOrBuilder

hasSpecificSkuAllocation()

public boolean hasSpecificSkuAllocation()

Allocation Properties of this reservation.

optional .google.cloud.compute.v1.AllocationResourceStatusSpecificSKUAllocation specific_sku_allocation = 196231151;

Returns
TypeDescription
boolean

Whether the specificSkuAllocation field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AllocationResourceStatus.Builder newBuilderForType()
Returns
TypeDescription
AllocationResourceStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AllocationResourceStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AllocationResourceStatus.Builder toBuilder()
Returns
TypeDescription
AllocationResourceStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException