public static final class ListCapacityCommitmentsResponse.Builder extends GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder> implements ListCapacityCommitmentsResponseOrBuilder
The response for ReservationService.ListCapacityCommitments.
Protobuf type google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addCapacityCommitmentsBuilder()
public CapacityCommitment.Builder addCapacityCommitmentsBuilder()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCapacityCommitmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListCapacityCommitmentsResponse build()
Returns
buildPartial()
public ListCapacityCommitmentsResponse buildPartial()
Returns
clear()
public ListCapacityCommitmentsResponse.Builder clear()
Returns
Overrides
clearCapacityCommitments()
public ListCapacityCommitmentsResponse.Builder clearCapacityCommitments()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListCapacityCommitmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCapacityCommitmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListCapacityCommitmentsResponse.Builder clone()
Returns
Overrides
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
Returns
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
Returns
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
getCapacityCommitmentsCount()
public int getCapacityCommitmentsCount()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
Returns
getCapacityCommitmentsList()
public List<CapacityCommitment> getCapacityCommitmentsList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
Returns
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListCapacityCommitmentsResponse other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)
Parameter
Returns
public ListCapacityCommitmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCapacityCommitmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListCapacityCommitmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The nextPageToken to set.
|
Returns
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 | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCapacityCommitmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCapacityCommitmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides