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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCapacityCommitmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCapacityCommitmentRequest build()
Returns
buildPartial()
public UpdateCapacityCommitmentRequest buildPartial()
Returns
clear()
public UpdateCapacityCommitmentRequest.Builder clear()
Returns
Overrides
clearCapacityCommitment()
public UpdateCapacityCommitmentRequest.Builder clearCapacityCommitment()
Content of the capacity commitment to update.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateCapacityCommitmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCapacityCommitmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateCapacityCommitmentRequest.Builder clearUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateCapacityCommitmentRequest.Builder clone()
Returns
Overrides
getCapacityCommitment()
public CapacityCommitment getCapacityCommitment()
Content of the capacity commitment to update.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;
Returns
getCapacityCommitmentBuilder()
public CapacityCommitment.Builder getCapacityCommitmentBuilder()
Content of the capacity commitment to update.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;
Returns
getCapacityCommitmentOrBuilder()
public CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()
Content of the capacity commitment to update.
.google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 1;
Returns
getDefaultInstanceForType()
public UpdateCapacityCommitmentRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Standard field mask for the set of fields to be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateCapacityCommitmentRequest other)
public UpdateCapacityCommitmentRequest.Builder mergeFrom(UpdateCapacityCommitmentRequest other)
Parameter
Returns
public UpdateCapacityCommitmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCapacityCommitmentRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCapacityCommitmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCapacityCommitmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCapacityCommitmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCapacityCommitmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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