Class AllocationResourceStatus.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AllocationResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

build()

public AllocationResourceStatus build()
Returns
TypeDescription
AllocationResourceStatus

buildPartial()

public AllocationResourceStatus buildPartial()
Returns
TypeDescription
AllocationResourceStatus

clear()

public AllocationResourceStatus.Builder clear()
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AllocationResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AllocationResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

clearSpecificSkuAllocation()

public AllocationResourceStatus.Builder clearSpecificSkuAllocation()

Allocation Properties of this reservation.

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

Returns
TypeDescription
AllocationResourceStatus.Builder

clone()

public AllocationResourceStatus.Builder clone()
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public AllocationResourceStatus getDefaultInstanceForType()
Returns
TypeDescription
AllocationResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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.

getSpecificSkuAllocationBuilder()

public AllocationResourceStatusSpecificSKUAllocation.Builder getSpecificSkuAllocationBuilder()

Allocation Properties of this reservation.

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

Returns
TypeDescription
AllocationResourceStatusSpecificSKUAllocation.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AllocationResourceStatus other)

public AllocationResourceStatus.Builder mergeFrom(AllocationResourceStatus other)
Parameter
NameDescription
otherAllocationResourceStatus
Returns
TypeDescription
AllocationResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AllocationResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AllocationResourceStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAllocationResourceStatusSpecificSKUAllocation
Returns
TypeDescription
AllocationResourceStatus.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AllocationResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AllocationResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides

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

public AllocationResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAllocationResourceStatusSpecificSKUAllocation
Returns
TypeDescription
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
NameDescription
builderForValueAllocationResourceStatusSpecificSKUAllocation.Builder
Returns
TypeDescription
AllocationResourceStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AllocationResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AllocationResourceStatus.Builder
Overrides