Class UpdateCapacityCommitmentRequest.Builder (2.49.0)

public static final class UpdateCapacityCommitmentRequest.Builder extends GeneratedMessageV3.Builder<UpdateCapacityCommitmentRequest.Builder> implements UpdateCapacityCommitmentRequestOrBuilder

The request for ReservationService.UpdateCapacityCommitment.

Protobuf type google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCapacityCommitmentRequest build()
Returns
Type Description
UpdateCapacityCommitmentRequest

buildPartial()

public UpdateCapacityCommitmentRequest buildPartial()
Returns
Type Description
UpdateCapacityCommitmentRequest

clear()

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

clearCapacityCommitment()

public UpdateCapacityCommitmentRequest.Builder clearCapacityCommitment()

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateCapacityCommitmentRequest.Builder clearUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

clone()

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

getCapacityCommitment()

public CapacityCommitment getCapacityCommitment()

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Returns
Type Description
CapacityCommitment

The capacityCommitment.

getCapacityCommitmentBuilder()

public CapacityCommitment.Builder getCapacityCommitmentBuilder()

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Returns
Type Description
CapacityCommitment.Builder

getCapacityCommitmentOrBuilder()

public CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Returns
Type Description
CapacityCommitmentOrBuilder

getDefaultInstanceForType()

public UpdateCapacityCommitmentRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCapacityCommitmentRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCapacityCommitment()

public boolean hasCapacityCommitment()

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Returns
Type Description
boolean

Whether the capacityCommitment field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCapacityCommitment(CapacityCommitment value)

public UpdateCapacityCommitmentRequest.Builder mergeCapacityCommitment(CapacityCommitment value)

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Parameter
Name Description
value CapacityCommitment
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

mergeFrom(UpdateCapacityCommitmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateCapacityCommitmentRequest.Builder mergeUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

setCapacityCommitment(CapacityCommitment value)

public UpdateCapacityCommitmentRequest.Builder setCapacityCommitment(CapacityCommitment value)

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Parameter
Name Description
value CapacityCommitment
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

setCapacityCommitment(CapacityCommitment.Builder builderForValue)

public UpdateCapacityCommitmentRequest.Builder setCapacityCommitment(CapacityCommitment.Builder builderForValue)

Content of the capacity commitment to update.

.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;

Parameter
Name Description
builderForValue CapacityCommitment.Builder
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateCapacityCommitmentRequest.Builder setUpdateMask(FieldMask value)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCapacityCommitmentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Standard field mask for the set of fields to be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCapacityCommitmentRequest.Builder