- 2.55.0 (latest)
- 2.54.0
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The capacityCommitmentIds to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The capacityCommitmentIds to add. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the capacityCommitmentIds to add. |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MergeCapacityCommitmentsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
build()
public MergeCapacityCommitmentsRequest build()
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest |
buildPartial()
public MergeCapacityCommitmentsRequest buildPartial()
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest |
clear()
public MergeCapacityCommitmentsRequest.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MergeCapacityCommitmentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MergeCapacityCommitmentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
This builder for chaining. |
clone()
public MergeCapacityCommitmentsRequest.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the capacityCommitmentIds. |
getDefaultInstanceForType()
public MergeCapacityCommitmentsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MergeCapacityCommitmentsRequest other)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(MergeCapacityCommitmentsRequest other)
Parameter | |
---|---|
Name | Description |
other |
MergeCapacityCommitmentsRequest |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MergeCapacityCommitmentsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MergeCapacityCommitmentsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The capacityCommitmentIds to set. |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MergeCapacityCommitmentsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MergeCapacityCommitmentsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MergeCapacityCommitmentsRequest.Builder |