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