public static final class ListCapacityCommitmentsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder> implements ListCapacityCommitmentsResponseOrBuilder
The response for [ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments].Protobuf type
google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse| Modifier and Type | Method and Description |
|---|---|
ListCapacityCommitmentsResponse.Builder |
addAllCapacityCommitments(Iterable<? extends CapacityCommitment> values)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
addCapacityCommitments(CapacityCommitment.Builder builderForValue)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
addCapacityCommitments(CapacityCommitment value)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
addCapacityCommitments(int index,
CapacityCommitment.Builder builderForValue)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
addCapacityCommitments(int index,
CapacityCommitment value)
List of capacity commitments visible to the user.
|
CapacityCommitment.Builder |
addCapacityCommitmentsBuilder()
List of capacity commitments visible to the user.
|
CapacityCommitment.Builder |
addCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCapacityCommitmentsResponse |
build() |
ListCapacityCommitmentsResponse |
buildPartial() |
ListCapacityCommitmentsResponse.Builder |
clear() |
ListCapacityCommitmentsResponse.Builder |
clearCapacityCommitments()
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListCapacityCommitmentsResponse.Builder |
clearNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
|
ListCapacityCommitmentsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListCapacityCommitmentsResponse.Builder |
clone() |
CapacityCommitment |
getCapacityCommitments(int index)
List of capacity commitments visible to the user.
|
CapacityCommitment.Builder |
getCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
|
List<CapacityCommitment.Builder> |
getCapacityCommitmentsBuilderList()
List of capacity commitments visible to the user.
|
int |
getCapacityCommitmentsCount()
List of capacity commitments visible to the user.
|
List<CapacityCommitment> |
getCapacityCommitmentsList()
List of capacity commitments visible to the user.
|
CapacityCommitmentOrBuilder |
getCapacityCommitmentsOrBuilder(int index)
List of capacity commitments visible to the user.
|
List<? extends CapacityCommitmentOrBuilder> |
getCapacityCommitmentsOrBuilderList()
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
Token to retrieve the next page of results, or empty if there are no
more results in the list.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListCapacityCommitmentsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListCapacityCommitmentsResponse.Builder |
mergeFrom(ListCapacityCommitmentsResponse other) |
ListCapacityCommitmentsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListCapacityCommitmentsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListCapacityCommitmentsResponse.Builder |
removeCapacityCommitments(int index)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
setCapacityCommitments(int index,
CapacityCommitment.Builder builderForValue)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
setCapacityCommitments(int index,
CapacityCommitment value)
List of capacity commitments visible to the user.
|
ListCapacityCommitmentsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListCapacityCommitmentsResponse.Builder |
setNextPageToken(String value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
|
ListCapacityCommitmentsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
Token to retrieve the next page of results, or empty if there are no
more results in the list.
|
ListCapacityCommitmentsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListCapacityCommitmentsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListCapacityCommitmentsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListCapacityCommitmentsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListCapacityCommitmentsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public ListCapacityCommitmentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListCapacityCommitmentsResponse.Builder>IOExceptionpublic List<CapacityCommitment> getCapacityCommitmentsList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
getCapacityCommitmentsList in interface ListCapacityCommitmentsResponseOrBuilderpublic int getCapacityCommitmentsCount()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
getCapacityCommitmentsCount in interface ListCapacityCommitmentsResponseOrBuilderpublic CapacityCommitment getCapacityCommitments(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
getCapacityCommitments in interface ListCapacityCommitmentsResponseOrBuilderpublic 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;
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;
public ListCapacityCommitmentsResponse.Builder addCapacityCommitments(CapacityCommitment value)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
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;
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;
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;
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;
public ListCapacityCommitmentsResponse.Builder clearCapacityCommitments()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
public ListCapacityCommitmentsResponse.Builder removeCapacityCommitments(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
public CapacityCommitment.Builder getCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
public CapacityCommitmentOrBuilder getCapacityCommitmentsOrBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
getCapacityCommitmentsOrBuilder in interface ListCapacityCommitmentsResponseOrBuilderpublic List<? extends CapacityCommitmentOrBuilder> getCapacityCommitmentsOrBuilderList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
getCapacityCommitmentsOrBuilderList in interface ListCapacityCommitmentsResponseOrBuilderpublic CapacityCommitment.Builder addCapacityCommitmentsBuilder()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
public CapacityCommitment.Builder addCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
public List<CapacityCommitment.Builder> getCapacityCommitmentsBuilderList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
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;getNextPageToken in interface ListCapacityCommitmentsResponseOrBuilderpublic com.google.protobuf.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;getNextPageTokenBytes in interface ListCapacityCommitmentsResponseOrBuilderpublic 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;value - The nextPageToken to set.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;public ListCapacityCommitmentsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;value - The bytes for nextPageToken to set.public final ListCapacityCommitmentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>public final ListCapacityCommitmentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.