Class ListCapacityCommitmentsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
- com.google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse.Builder
-
- All Implemented Interfaces:
ListCapacityCommitmentsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListCapacityCommitmentsResponse
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 typegoogle.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListCapacityCommitmentsResponse.BuilderaddAllCapacityCommitments(Iterable<? extends CapacityCommitment> values)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderaddCapacityCommitments(int index, CapacityCommitment value)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderaddCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderaddCapacityCommitments(CapacityCommitment value)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderaddCapacityCommitments(CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.CapacityCommitment.BuilderaddCapacityCommitmentsBuilder()List of capacity commitments visible to the user.CapacityCommitment.BuilderaddCapacityCommitmentsBuilder(int index)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCapacityCommitmentsResponsebuild()ListCapacityCommitmentsResponsebuildPartial()ListCapacityCommitmentsResponse.Builderclear()ListCapacityCommitmentsResponse.BuilderclearCapacityCommitments()List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListCapacityCommitmentsResponse.BuilderclearNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.ListCapacityCommitmentsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListCapacityCommitmentsResponse.Builderclone()CapacityCommitmentgetCapacityCommitments(int index)List of capacity commitments visible to the user.CapacityCommitment.BuildergetCapacityCommitmentsBuilder(int index)List of capacity commitments visible to the user.List<CapacityCommitment.Builder>getCapacityCommitmentsBuilderList()List of capacity commitments visible to the user.intgetCapacityCommitmentsCount()List of capacity commitments visible to the user.List<CapacityCommitment>getCapacityCommitmentsList()List of capacity commitments visible to the user.CapacityCommitmentOrBuildergetCapacityCommitmentsOrBuilder(int index)List of capacity commitments visible to the user.List<? extends CapacityCommitmentOrBuilder>getCapacityCommitmentsOrBuilderList()List of capacity commitments visible to the user.ListCapacityCommitmentsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()Token to retrieve the next page of results, or empty if there are no more results in the list.com.google.protobuf.ByteStringgetNextPageTokenBytes()Token to retrieve the next page of results, or empty if there are no more results in the list.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListCapacityCommitmentsResponse.BuildermergeFrom(ListCapacityCommitmentsResponse other)ListCapacityCommitmentsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListCapacityCommitmentsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListCapacityCommitmentsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListCapacityCommitmentsResponse.BuilderremoveCapacityCommitments(int index)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuildersetCapacityCommitments(int index, CapacityCommitment value)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuildersetCapacityCommitments(int index, CapacityCommitment.Builder builderForValue)List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListCapacityCommitmentsResponse.BuildersetNextPageToken(String value)Token to retrieve the next page of results, or empty if there are no more results in the list.ListCapacityCommitmentsResponse.BuildersetNextPageTokenBytes(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.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListCapacityCommitmentsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clear
public ListCapacityCommitmentsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
getDefaultInstanceForType
public ListCapacityCommitmentsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCapacityCommitmentsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCapacityCommitmentsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCapacityCommitmentsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
setField
public ListCapacityCommitmentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clearField
public ListCapacityCommitmentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clearOneof
public ListCapacityCommitmentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
setRepeatedField
public ListCapacityCommitmentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
addRepeatedField
public ListCapacityCommitmentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeFrom
public ListCapacityCommitmentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeFrom
public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeFrom
public ListCapacityCommitmentsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListCapacityCommitmentsResponse.Builder>- Throws:
IOException
-
getCapacityCommitmentsList
public List<CapacityCommitment> getCapacityCommitmentsList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;- Specified by:
getCapacityCommitmentsListin interfaceListCapacityCommitmentsResponseOrBuilder
-
getCapacityCommitmentsCount
public int getCapacityCommitmentsCount()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;- Specified by:
getCapacityCommitmentsCountin interfaceListCapacityCommitmentsResponseOrBuilder
-
getCapacityCommitments
public CapacityCommitment getCapacityCommitments(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;- Specified by:
getCapacityCommitmentsin interfaceListCapacityCommitmentsResponseOrBuilder
-
setCapacityCommitments
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
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;
-
addCapacityCommitments
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
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
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
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;
-
addAllCapacityCommitments
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;
-
clearCapacityCommitments
public ListCapacityCommitmentsResponse.Builder clearCapacityCommitments()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
removeCapacityCommitments
public ListCapacityCommitmentsResponse.Builder removeCapacityCommitments(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
getCapacityCommitmentsBuilder
public CapacityCommitment.Builder getCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
getCapacityCommitmentsOrBuilder
public CapacityCommitmentOrBuilder getCapacityCommitmentsOrBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;- Specified by:
getCapacityCommitmentsOrBuilderin interfaceListCapacityCommitmentsResponseOrBuilder
-
getCapacityCommitmentsOrBuilderList
public List<? extends CapacityCommitmentOrBuilder> getCapacityCommitmentsOrBuilderList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;- Specified by:
getCapacityCommitmentsOrBuilderListin interfaceListCapacityCommitmentsResponseOrBuilder
-
addCapacityCommitmentsBuilder
public CapacityCommitment.Builder addCapacityCommitmentsBuilder()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
addCapacityCommitmentsBuilder
public CapacityCommitment.Builder addCapacityCommitmentsBuilder(int index)
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
getCapacityCommitmentsBuilderList
public List<CapacityCommitment.Builder> getCapacityCommitmentsBuilderList()
List of capacity commitments visible to the user.
repeated .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitments = 1;
-
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;- Specified by:
getNextPageTokenin interfaceListCapacityCommitmentsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceListCapacityCommitmentsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListCapacityCommitmentsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeUnknownFields
public final ListCapacityCommitmentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
-