- 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 MergeCapacityCommitmentsRequest.Builder extends GeneratedMessageV3.Builder<MergeCapacityCommitmentsRequest.Builder> implements MergeCapacityCommitmentsRequestOrBuilder
The request for ReservationService.MergeCapacityCommitments.
Protobuf type google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MergeCapacityCommitmentsRequest.BuilderImplements
MergeCapacityCommitmentsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCapacityCommitmentIds(Iterable<String> values)
public MergeCapacityCommitmentsRequest.Builder addAllCapacityCommitmentIds(Iterable<String> values)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
values | Iterable<String> The capacityCommitmentIds to add. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
addCapacityCommitmentIds(String value)
public MergeCapacityCommitmentsRequest.Builder addCapacityCommitmentIds(String value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
value | String The capacityCommitmentIds to add. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
addCapacityCommitmentIdsBytes(ByteString value)
public MergeCapacityCommitmentsRequest.Builder addCapacityCommitmentIdsBytes(ByteString value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
value | ByteString The bytes of the capacityCommitmentIds to add. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MergeCapacityCommitmentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
build()
public MergeCapacityCommitmentsRequest build()
Type | Description |
MergeCapacityCommitmentsRequest |
buildPartial()
public MergeCapacityCommitmentsRequest buildPartial()
Type | Description |
MergeCapacityCommitmentsRequest |
clear()
public MergeCapacityCommitmentsRequest.Builder clear()
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
clearCapacityCommitmentIds()
public MergeCapacityCommitmentsRequest.Builder clearCapacityCommitmentIds()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MergeCapacityCommitmentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MergeCapacityCommitmentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
clearParent()
public MergeCapacityCommitmentsRequest.Builder clearParent()
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
clone()
public MergeCapacityCommitmentsRequest.Builder clone()
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
getCapacityCommitmentIds(int index)
public String getCapacityCommitmentIds(int index)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The capacityCommitmentIds at the given index. |
getCapacityCommitmentIdsBytes(int index)
public ByteString getCapacityCommitmentIdsBytes(int index)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the capacityCommitmentIds at the given index. |
getCapacityCommitmentIdsCount()
public int getCapacityCommitmentIdsCount()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Type | Description |
int | The count of capacityCommitmentIds. |
getCapacityCommitmentIdsList()
public ProtocolStringList getCapacityCommitmentIdsList()
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Type | Description |
ProtocolStringList | A list containing the capacityCommitmentIds. |
getDefaultInstanceForType()
public MergeCapacityCommitmentsRequest getDefaultInstanceForType()
Type | Description |
MergeCapacityCommitmentsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getParent()
public String getParent()
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MergeCapacityCommitmentsRequest other)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(MergeCapacityCommitmentsRequest other)
Name | Description |
other | MergeCapacityCommitmentsRequest |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MergeCapacityCommitmentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
setCapacityCommitmentIds(int index, String value)
public MergeCapacityCommitmentsRequest.Builder setCapacityCommitmentIds(int index, String value)
Ids of capacity commitments to merge. These capacity commitments must exist under admin project and location specified in the parent. ID is the last portion of capacity commitment name e.g., 'abc' for projects/myproject/locations/US/capacityCommitments/abc
repeated string capacity_commitment_ids = 2;
Name | Description |
index | int The index to set the value at. |
value | String The capacityCommitmentIds to set. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MergeCapacityCommitmentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
setParent(String value)
public MergeCapacityCommitmentsRequest.Builder setParent(String value)
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The parent to set. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public MergeCapacityCommitmentsRequest.Builder setParentBytes(ByteString value)
Parent resource that identifies admin project and location e.g.,
projects/myproject/locations/us
string parent = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for parent to set. |
Type | Description |
MergeCapacityCommitmentsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MergeCapacityCommitmentsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MergeCapacityCommitmentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MergeCapacityCommitmentsRequest.Builder |