- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.6
- 2.3.1
- 2.2.7
- 2.1.4
public static final class DeleteCapacityCommitmentRequest.Builder extends GeneratedMessageV3.Builder<DeleteCapacityCommitmentRequest.Builder> implements DeleteCapacityCommitmentRequestOrBuilder
The request for ReservationService.DeleteCapacityCommitment.
Protobuf type google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeleteCapacityCommitmentRequest.BuilderImplements
DeleteCapacityCommitmentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteCapacityCommitmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
build()
public DeleteCapacityCommitmentRequest build()
Type | Description |
DeleteCapacityCommitmentRequest |
buildPartial()
public DeleteCapacityCommitmentRequest buildPartial()
Type | Description |
DeleteCapacityCommitmentRequest |
clear()
public DeleteCapacityCommitmentRequest.Builder clear()
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public DeleteCapacityCommitmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
clearForce()
public DeleteCapacityCommitmentRequest.Builder clearForce()
Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
bool force = 3;
Type | Description |
DeleteCapacityCommitmentRequest.Builder | This builder for chaining. |
clearName()
public DeleteCapacityCommitmentRequest.Builder clearName()
Required. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
DeleteCapacityCommitmentRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteCapacityCommitmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
clone()
public DeleteCapacityCommitmentRequest.Builder clone()
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
getDefaultInstanceForType()
public DeleteCapacityCommitmentRequest getDefaultInstanceForType()
Type | Description |
DeleteCapacityCommitmentRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getForce()
public boolean getForce()
Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
bool force = 3;
Type | Description |
boolean | The force. |
getName()
public String getName()
Required. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(DeleteCapacityCommitmentRequest other)
public DeleteCapacityCommitmentRequest.Builder mergeFrom(DeleteCapacityCommitmentRequest other)
Name | Description |
other | DeleteCapacityCommitmentRequest |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeleteCapacityCommitmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public DeleteCapacityCommitmentRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteCapacityCommitmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteCapacityCommitmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
setForce(boolean value)
public DeleteCapacityCommitmentRequest.Builder setForce(boolean value)
Can be used to force delete commitments even if assignments exist. Deleting commitments with assignments may cause queries to fail if they no longer have access to slots.
bool force = 3;
Name | Description |
value | boolean The force to set. |
Type | Description |
DeleteCapacityCommitmentRequest.Builder | This builder for chaining. |
setName(String value)
public DeleteCapacityCommitmentRequest.Builder setName(String value)
Required. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
DeleteCapacityCommitmentRequest.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public DeleteCapacityCommitmentRequest.Builder setNameBytes(ByteString value)
Required. Resource name of the capacity commitment to delete. E.g.,
projects/myproject/locations/US/capacityCommitments/123
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
DeleteCapacityCommitmentRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteCapacityCommitmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteCapacityCommitmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
DeleteCapacityCommitmentRequest.Builder |