Class AllocationAggregateReservationReservedResourceInfo.Builder (1.55.0)

public static final class AllocationAggregateReservationReservedResourceInfo.Builder extends GeneratedMessageV3.Builder<AllocationAggregateReservationReservedResourceInfo.Builder> implements AllocationAggregateReservationReservedResourceInfoOrBuilder

Protobuf type google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfo

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllocationAggregateReservationReservedResourceInfo.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AllocationAggregateReservationReservedResourceInfo build()
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo

buildPartial()

public AllocationAggregateReservationReservedResourceInfo buildPartial()
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo

clear()

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

clearAccelerator()

public AllocationAggregateReservationReservedResourceInfo.Builder clearAccelerator()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
Type Description
AllocationAggregateReservationReservedResourceInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccelerator()

public AllocationAggregateReservationReservedResourceInfoAccelerator getAccelerator()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
Type Description
AllocationAggregateReservationReservedResourceInfoAccelerator

The accelerator.

getAcceleratorBuilder()

public AllocationAggregateReservationReservedResourceInfoAccelerator.Builder getAcceleratorBuilder()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
Type Description
AllocationAggregateReservationReservedResourceInfoAccelerator.Builder

getAcceleratorOrBuilder()

public AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder getAcceleratorOrBuilder()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
Type Description
AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder

getDefaultInstanceForType()

public AllocationAggregateReservationReservedResourceInfo getDefaultInstanceForType()
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo

getDescriptorForType()

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

hasAccelerator()

public boolean hasAccelerator()

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Returns
Type Description
boolean

Whether the accelerator field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator value)

public AllocationAggregateReservationReservedResourceInfo.Builder mergeAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator value)

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Parameter
Name Description
value AllocationAggregateReservationReservedResourceInfoAccelerator
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo.Builder

mergeFrom(AllocationAggregateReservationReservedResourceInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator value)

public AllocationAggregateReservationReservedResourceInfo.Builder setAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator value)

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Parameter
Name Description
value AllocationAggregateReservationReservedResourceInfoAccelerator
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo.Builder

setAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator.Builder builderForValue)

public AllocationAggregateReservationReservedResourceInfo.Builder setAccelerator(AllocationAggregateReservationReservedResourceInfoAccelerator.Builder builderForValue)

Properties of accelerator resources in this reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservationReservedResourceInfoAccelerator accelerator = 424338027;

Parameter
Name Description
builderForValue AllocationAggregateReservationReservedResourceInfoAccelerator.Builder
Returns
Type Description
AllocationAggregateReservationReservedResourceInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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