Class AllocationAggregateReservationReservedResourceInfo.Builder (1.51.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AllocationAggregateReservationReservedResourceInfo build()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo

buildPartial()

public AllocationAggregateReservationReservedResourceInfo buildPartial()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo

clear()

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

clearAccelerator()

public AllocationAggregateReservationReservedResourceInfo.Builder clearAccelerator()

Properties of accelerator resources in this reservation.

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

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccelerator()

public AllocationAggregateReservationReservedResourceInfoAccelerator getAccelerator()

Properties of accelerator resources in this reservation.

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

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfoAccelerator

The accelerator.

getAcceleratorBuilder()

public AllocationAggregateReservationReservedResourceInfoAccelerator.Builder getAcceleratorBuilder()

Properties of accelerator resources in this reservation.

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

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfoAccelerator.Builder

getAcceleratorOrBuilder()

public AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder getAcceleratorOrBuilder()

Properties of accelerator resources in this reservation.

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

Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfoAcceleratorOrBuilder

getDefaultInstanceForType()

public AllocationAggregateReservationReservedResourceInfo getDefaultInstanceForType()
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasAccelerator()

public boolean hasAccelerator()

Properties of accelerator resources in this reservation.

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

Returns
TypeDescription
boolean

Whether the accelerator field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueAllocationAggregateReservationReservedResourceInfoAccelerator
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

mergeFrom(AllocationAggregateReservationReservedResourceInfo other)

public AllocationAggregateReservationReservedResourceInfo.Builder mergeFrom(AllocationAggregateReservationReservedResourceInfo other)
Parameter
NameDescription
otherAllocationAggregateReservationReservedResourceInfo
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AllocationAggregateReservationReservedResourceInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AllocationAggregateReservationReservedResourceInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAllocationAggregateReservationReservedResourceInfoAccelerator
Returns
TypeDescription
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
NameDescription
builderForValueAllocationAggregateReservationReservedResourceInfoAccelerator.Builder
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AllocationAggregateReservationReservedResourceInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AllocationAggregateReservationReservedResourceInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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