Class UpdateCapacityCommitmentRequest.Builder (2.4.6)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateCapacityCommitmentRequest build()
Returns
TypeDescription
UpdateCapacityCommitmentRequest

buildPartial()

public UpdateCapacityCommitmentRequest buildPartial()
Returns
TypeDescription
UpdateCapacityCommitmentRequest

clear()

public UpdateCapacityCommitmentRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateCapacityCommitmentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCapacityCommitmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateCapacityCommitmentRequest.Builder

clone()

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

getCapacityCommitment()

public CapacityCommitment getCapacityCommitment()

Content of the capacity commitment to update.

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

Returns
TypeDescription
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
TypeDescription
CapacityCommitment.Builder

getCapacityCommitmentOrBuilder()

public CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()

Content of the capacity commitment to update.

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

Returns
TypeDescription
CapacityCommitmentOrBuilder

getDefaultInstanceForType()

public UpdateCapacityCommitmentRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCapacityCommitmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
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
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

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

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasCapacityCommitment()

public boolean hasCapacityCommitment()

Content of the capacity commitment to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(UpdateCapacityCommitmentRequest other)

public UpdateCapacityCommitmentRequest.Builder mergeFrom(UpdateCapacityCommitmentRequest other)
Parameter
NameDescription
otherUpdateCapacityCommitmentRequest
Returns
TypeDescription
UpdateCapacityCommitmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCapacityCommitmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueCapacityCommitment
Returns
TypeDescription
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
NameDescription
builderForValueCapacityCommitment.Builder
Returns
TypeDescription
UpdateCapacityCommitmentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCapacityCommitmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateCapacityCommitmentRequest.Builder