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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
addCapacityCommitmentsBuilder()
public CapacityCommitment.Builder addCapacityCommitmentsBuilder()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListCapacityCommitmentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListCapacityCommitmentsResponse build()
buildPartial()
public ListCapacityCommitmentsResponse buildPartial()
clear()
public ListCapacityCommitmentsResponse.Builder clear()
Overrides
clearCapacityCommitments()
public ListCapacityCommitmentsResponse.Builder clearCapacityCommitments()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
clearField(Descriptors.FieldDescriptor field)
public ListCapacityCommitmentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListCapacityCommitmentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListCapacityCommitmentsResponse.Builder clone()
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 |
Name |
Description |
index |
int
|
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
|
getCapacityCommitmentsBuilderList()
public List<CapacityCommitment.Builder> getCapacityCommitmentsBuilderList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
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;
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListCapacityCommitmentsResponse other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListCapacityCommitmentsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListCapacityCommitmentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListCapacityCommitmentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListCapacityCommitmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListCapacityCommitmentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides