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.Builder
addAllCapacityCommitments(Iterable<? extends CapacityCommitment> values)
List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.Builder
addCapacityCommitments(int index, 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(CapacityCommitment value)
List of capacity commitments visible to the user.ListCapacityCommitmentsResponse.Builder
addCapacityCommitments(CapacityCommitment.Builder builderForValue)
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(ListCapacityCommitmentsResponse other)
ListCapacityCommitmentsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
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
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)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clear
public ListCapacityCommitmentsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
getDefaultInstanceForType
public ListCapacityCommitmentsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListCapacityCommitmentsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListCapacityCommitmentsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListCapacityCommitmentsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
setField
public ListCapacityCommitmentsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clearField
public ListCapacityCommitmentsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
clearOneof
public ListCapacityCommitmentsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
setRepeatedField
public ListCapacityCommitmentsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
addRepeatedField
public ListCapacityCommitmentsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeFrom
public ListCapacityCommitmentsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeFrom
public ListCapacityCommitmentsResponse.Builder mergeFrom(ListCapacityCommitmentsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getCapacityCommitmentsList
in 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:
getCapacityCommitmentsCount
in 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:
getCapacityCommitments
in 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:
getCapacityCommitmentsOrBuilder
in 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:
getCapacityCommitmentsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
mergeUnknownFields
public final ListCapacityCommitmentsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListCapacityCommitmentsResponse.Builder>
-
-