public static final class ListCapacityCommitmentsResponse.Builder extends GeneratedMessage.Builder<ListCapacityCommitmentsResponse.Builder> implements ListCapacityCommitmentsResponseOrBuilderThe response for ReservationService.ListCapacityCommitments.
Protobuf type google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCapacityCommitmentsResponse.BuilderImplements
ListCapacityCommitmentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCapacityCommitments(Iterable<? extends CapacityCommitment> values)
public ListCapacityCommitmentsResponse.Builder addAllCapacityCommitments(Iterable<? extends CapacityCommitment> values)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.bigquery.reservation.v1.CapacityCommitment> |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
addCapacityCommitments(CapacityCommitment value)
public ListCapacityCommitmentsResponse.Builder addCapacityCommitments(CapacityCommitment value)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
CapacityCommitment |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
addCapacityCommitments(CapacityCommitment.Builder builderForValue)
public ListCapacityCommitmentsResponse.Builder addCapacityCommitments(CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CapacityCommitment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
addCapacityCommitments(int index, CapacityCommitment value)
public ListCapacityCommitmentsResponse.Builder addCapacityCommitments(int index, CapacityCommitment value)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CapacityCommitment |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
addCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)
public ListCapacityCommitmentsResponse.Builder addCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CapacityCommitment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
addCapacityCommitmentsBuilder()
public CapacityCommitment.Builder addCapacityCommitmentsBuilder()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment.Builder |
|
addCapacityCommitmentsBuilder(int index)
public CapacityCommitment.Builder addCapacityCommitmentsBuilder(int index)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment.Builder |
|
build()
public ListCapacityCommitmentsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse |
|
buildPartial()
public ListCapacityCommitmentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse |
|
clear()
public ListCapacityCommitmentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
clearCapacityCommitments()
public ListCapacityCommitmentsResponse.Builder clearCapacityCommitments()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
clearNextPageToken()
public ListCapacityCommitmentsResponse.Builder clearNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
This builder for chaining. |
getCapacityCommitments(int index)
public CapacityCommitment getCapacityCommitments(int index)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment |
|
getCapacityCommitmentsBuilder(int index)
public CapacityCommitment.Builder getCapacityCommitmentsBuilder(int index)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityCommitment.Builder |
|
getCapacityCommitmentsBuilderList()
public List<CapacityCommitment.Builder> getCapacityCommitmentsBuilderList()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCapacityCommitmentsCount()
public int getCapacityCommitmentsCount()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCapacityCommitmentsList()
public List<CapacityCommitment> getCapacityCommitmentsList()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
List<CapacityCommitment> |
|
getCapacityCommitmentsOrBuilder(int index)
public CapacityCommitmentOrBuilder getCapacityCommitmentsOrBuilder(int index)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CapacityCommitmentOrBuilder |
|
getCapacityCommitmentsOrBuilderList()
public List<? extends CapacityCommitmentOrBuilder> getCapacityCommitmentsOrBuilderList()List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.bigquery.reservation.v1.CapacityCommitmentOrBuilder> |
|
getDefaultInstanceForType()
public ListCapacityCommitmentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListCapacityCommitmentsResponse other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCapacityCommitmentsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCapacityCommitmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
removeCapacityCommitments(int index)
public ListCapacityCommitmentsResponse.Builder removeCapacityCommitments(int index)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
setCapacityCommitments(int index, CapacityCommitment value)
public ListCapacityCommitmentsResponse.Builder setCapacityCommitments(int index, CapacityCommitment value)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CapacityCommitment |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
setCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)
public ListCapacityCommitmentsResponse.Builder setCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CapacityCommitment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
|
setNextPageToken(String value)
public ListCapacityCommitmentsResponse.Builder setNextPageToken(String value)Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCapacityCommitmentsResponse.Builder setNextPageTokenBytes(ByteString value)Token to retrieve the next page of results, or empty if there are no more results in the list.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListCapacityCommitmentsResponse.Builder |
This builder for chaining. |