Class AllocationResourceStatus.Builder (1.53.0)

public static final class AllocationResourceStatus.Builder extends GeneratedMessageV3.Builder<AllocationResourceStatus.Builder> implements AllocationResourceStatusOrBuilder

[Output Only] Contains output only fields.

Protobuf type google.cloud.compute.v1.AllocationResourceStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AllocationResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

build()

public AllocationResourceStatus build()
Returns
Type Description
AllocationResourceStatus

buildPartial()

public AllocationResourceStatus buildPartial()
Returns
Type Description
AllocationResourceStatus

clear()

public AllocationResourceStatus.Builder clear()
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AllocationResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AllocationResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

clearSpecificSkuAllocation()

public AllocationResourceStatus.Builder clearSpecificSkuAllocation()

Allocation Properties of this reservation.

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

Returns
Type Description
AllocationResourceStatus.Builder

clone()

public AllocationResourceStatus.Builder clone()
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public AllocationResourceStatus getDefaultInstanceForType()
Returns
Type Description
AllocationResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSpecificSkuAllocation()

public AllocationResourceStatusSpecificSKUAllocation getSpecificSkuAllocation()

Allocation Properties of this reservation.

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

Returns
Type Description
AllocationResourceStatusSpecificSKUAllocation

The specificSkuAllocation.

getSpecificSkuAllocationBuilder()

public AllocationResourceStatusSpecificSKUAllocation.Builder getSpecificSkuAllocationBuilder()

Allocation Properties of this reservation.

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

Returns
Type Description
AllocationResourceStatusSpecificSKUAllocation.Builder

getSpecificSkuAllocationOrBuilder()

public AllocationResourceStatusSpecificSKUAllocationOrBuilder getSpecificSkuAllocationOrBuilder()

Allocation Properties of this reservation.

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

Returns
Type Description
AllocationResourceStatusSpecificSKUAllocationOrBuilder

hasSpecificSkuAllocation()

public boolean hasSpecificSkuAllocation()

Allocation Properties of this reservation.

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

Returns
Type Description
boolean

Whether the specificSkuAllocation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AllocationResourceStatus other)

public AllocationResourceStatus.Builder mergeFrom(AllocationResourceStatus other)
Parameter
Name Description
other AllocationResourceStatus
Returns
Type Description
AllocationResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AllocationResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AllocationResourceStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AllocationResourceStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

mergeSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value)

public AllocationResourceStatus.Builder mergeSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value)

Allocation Properties of this reservation.

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

Parameter
Name Description
value AllocationResourceStatusSpecificSKUAllocation
Returns
Type Description
AllocationResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AllocationResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AllocationResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AllocationResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AllocationResourceStatus.Builder
Overrides

setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value)

public AllocationResourceStatus.Builder setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation value)

Allocation Properties of this reservation.

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

Parameter
Name Description
value AllocationResourceStatusSpecificSKUAllocation
Returns
Type Description
AllocationResourceStatus.Builder

setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation.Builder builderForValue)

public AllocationResourceStatus.Builder setSpecificSkuAllocation(AllocationResourceStatusSpecificSKUAllocation.Builder builderForValue)

Allocation Properties of this reservation.

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

Parameter
Name Description
builderForValue AllocationResourceStatusSpecificSKUAllocation.Builder
Returns
Type Description
AllocationResourceStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AllocationResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AllocationResourceStatus.Builder
Overrides